Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find a way to have a button or key combination that, when pushed, would rearrange all the windows on the desktop to a pre-determined state. There are five programs that need to be arranged to fit in a certain way. I first thought of AutoHotkey, but honestly I have no idea how to approach that method.

share|improve this question
up vote 4 down vote accepted

DisplayFusion can create monitor profiles that memorize and recall desktop placement and resolution as well as program window placement. You might be able to take advantage of that latter feature.

share|improve this answer

WinSize2 is a program written in AutoHotKey that can make Windows remember window position, size and more. The program gives you the ability to save the window size and location for any program or folder.

To save any window position, click on the Windows title bar to make sure the window is active and press the hotkey Ctrl+Alt+Z. A tooltip message will confirm that the position has been saved. Now if you close the window and open it again, the program window will be automatically resized and moved to the position where you saved it.

You can edit the behavior and position of any previously saved window by right-clicking on the tray icon and choosing “Special Parameters”.

enter image description here

Here you can manually enter window position coordinates and size, force the window to open maximized, minimized, full screen or hidden, make it “always on top” and even enter a delay between opening the window and resizing.

WinSize2 works on all versions of Windows right from 95 to 7.

enter image description here

share|improve this answer
    
Looked promising but doesn't work. I opened one of the applications hit the hotkey. It 'saved'. I brought up the dialog and checked 'always' and when I relaunch the application it launches in maximize like normal. – MrStatic Feb 1 '11 at 17:41
    
@MrStatic: I have no experience using this app but looking at the "Rating and Reviews" on the project page, I can say the program should work without problems. Maybe you could reexamine the settings of the program (there seems to be a lot of settings!) and retry. This is all I can say at the moment. – Mehper C. Palavuzlar Feb 1 '11 at 18:15
    
It didn't work for me either. Behavior was very odd, some windows it put in wrong places, others it just did nothing with, others would open then resize then move to the (correct) position. ALl in all I found it to be pretty useless. – Colin Jack Sep 7 '11 at 21:10

I just open sourced an app that can remember and restore window layouts. See https://github.com/adamsmith/WindowsLayoutSnapshot.

share|improve this answer
1  
Awesome, @Adam. Simple, but awesome. Thanks a lot, but is it possible to launch it via hotkey? Maybe your program has some command line parameter? The docs show nothing about it. – Sopalajo de Arrierez Sep 29 '14 at 21:01

As @AdamSmith, but from command line, I have designed a program to save and restore the windows, too.

Here it is, if you need it.

share|improve this answer

So far my favorite solution so far is a program by DeskSoft called "WindowManager", as found here: http://www.desksoft.com/WindowManager.htm

Takes a little bit to understand its interface, but once you do you will realize how much flexibility it has with how simplistic the task is. You choose how it finds the types of windows you want to arrange (name, process name, etc) then it will try to arrange it for you, and you can use a hotkey if the window changes after it is launched, for example.

I really wish this was an optional Windows feature, being that the OS is called Windows after all, but I digress. It seems they tried to use the snap feature to do this sort of thing, but this program is much more reliable and flexible in my experience.

share|improve this answer

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.