Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a particular program that I use that whenever it starts up, its window is always too big. I always have to resize it to make it smaller. Is there a way I can control the size of the window when it starts up?

share|improve this question

5 Answers 5

up vote 3 down vote accepted

Sometimes holding the Ctrl or Ctrl+Alt keys down when you close a window (X) will keep the size and position of the window next time it opens, it may take several tries.

Or buy this utility http://www.pcmag.com/article2/0,2817,2339650,00.asp

.

share|improve this answer

Try this:

While, 1
{
 WinWait, ahk_class [Window Class]
 WinActivate,
 WinMove,,,,,1024,768
 WinWaitClose
}

It's an Autohotkey script that will wait for the window to exist, resize it, and then stop until the window closes - meaning it keeps working across window-openings.

share|improve this answer

See the free Eusing Auto Window Manager:

Auto Window Manager automatically manages any window you specify. For instance, some web browsers open up in a non-maximized window. Using Auto Window Manager, you can set those windows to automatically maximize (minimize, normal, minimize to tray, stay on top) every time they opened. It works with almost any program, including web browsers, Notepad, etc. Auto Window Manager stays running in the system tray, so it stays out of your way while it works.

share|improve this answer
    
It doesn't resize the window on startup. –  Phenom Dec 7 '09 at 10:31
    
It should(must) work. Or does "startup" mean when Windows is booted? –  harrymc Dec 7 '09 at 10:46
    
No, it means when the program starts. It gives options for starting minimized and maximized. I want to start it out at a certain width and height. It does not have that option. –  Phenom Dec 7 '09 at 18:05
    
The description says: "You can set the width and height of any window based on your choice". –  harrymc Dec 7 '09 at 18:25
    
Yes you can manually set it once it's open. But the program doesn't give an option for doing it automatically when the program starts up. –  Phenom Dec 11 '09 at 15:37

If the program overrides the Windows-maintained settings itself, you will have to find a solution within the program (or the developers!). Otherwise, I have heard that closing the application with CTRL or ALT when clicking the [X] button in the corner can sometimes make sure an application gets it's position/size saved. I haven't got an errant application to test it on, so give it a go and let us know.

share|improve this answer

It sounds like the program writers have specified a default size for their application and are using that on startup rather than saving the size and position you set during use. Which is non-standard behaviour.

Does the program "forget" it's position too?

Can you maximise the application and does it remember this state between executions?

share|improve this answer
    
The program forgets both its position and sized. However, it can be maximized. –  Phenom Dec 7 '09 at 18:06
    
It does sound like the developers haven't programmed that behaviour into their application. Unless you can persuade the developers to make the necessary changes (it's a straightforward bit of code) you'll have to find some external way of storing the size and position. –  ChrisF Dec 7 '09 at 21:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.