PDA

View Full Version : Win XP... is there a way to save window layouts?


grendel240sx
05-24-2009, 10:17 AM
Hey all, quick question

Is it possible to have a program open in the same position on the screen everytime you open it?

I've been playing wow windowed, and it opens in the exact center of the screen, normally I move it to the bottom left. Is there any way to make a program remember exactly where it was placed last time you closed it?

Also I normally have 2 chrome browsers open at once is there a way to have chrome resize the two windows and move them around when I open it automatically?

anss123
05-24-2009, 10:56 AM
Try holding shift when closing the application.

bigdogchris
05-24-2009, 02:43 PM
ctrl+W, but that only works on some types of windows.

Joe Average
05-24-2009, 03:41 PM
Some applications will simply NOT respect window positioning no matter what you do. The only "trick" I've found that helps more than it hurts is setting a window position (size and actual position onscreen) then holding Shift+Control and then restore the original position while still holding Shift+Control and then finally closing it while still holding Shift+Control and clicking the close gadget.

There's only a few apps over the years that won't respect that much trouble. Hell, I even got IE to respect it when I did it that way. I might have to repeat the process once or twice but, in the long run even IE (on XP and older versions of Windows I mean) acquiesced... :D

grendel240sx
05-24-2009, 08:09 PM
Some applications will simply NOT respect window positioning no matter what you do. The only "trick" I've found that helps more than it hurts is setting a window position (size and actual position onscreen) then holding Shift+Control and then restore the original position while still holding Shift+Control and then finally closing it while still holding Shift+Control and clicking the close gadget.

There's only a few apps over the years that won't respect that much trouble. Hell, I even got IE to respect it when I did it that way. I might have to repeat the process once or twice but, in the long run even IE (on XP and older versions of Windows I mean) acquiesced... :D

Ahh that doesn't seem to work with WoW :(

Is it possible to have a simple script open a program and move the window to a certain spot on the screen?

paranoyd
05-25-2009, 12:18 PM
Winsize (http://sourceforge.net/projects/winsize2) will do what you want or just use autohotkey to launch your apps. Here's an example of starting Thunderbird anywhere I want. WinMove plots the x+y coordinates and resolution (1259x965).


; Autohotkey
; Thunderbird (WIN+X)
#x::
Run C:\Program Files (x86)\Thunderbird\thunderbird.exe
WinWaitActive, Inbox - Thunderbird
WinMove, Inbox - Thunderbird, , 344, 48, 1259, 965
return


You can use the following hotkey to get the details of a focused window.


; Get window size and position (WIN+ALT+S)
#!s::
WinGetPos, X, Y, Width, Height, A ; "A" to get the active window's pos.
MsgBox, Position %X%, %Y% : Size %Width% x %Height%
return