#z:: ;Sets the delay that's used after each window move/size command (http://www.autohotkey.com/docs/commands/SetWinDelay.htm) SetWinDelay, 500 ;Launch the Explorer window Run, "C:\Windows" ;Wait half a second for it to show up Sleep 500 ;Restore the active window in case it's maximized (http://www.autohotkey.com/docs/commands/WinRestore.htm) WinRestore, A ;Move the active window to the top-left (http://www.autohotkey.com/docs/commands/WinMove.htm) WinMove, A,, 0, 0, 578, 388 ;Launch the Explorer window Run, %USERPROFILE%\Documents ;Wait half a second for it to show up Sleep 500 ;Restore the active window in case it's maximized (http://www.autohotkey.com/docs/commands/WinRestore.htm) WinRestore, A ;Move the active window to 1px below the previous window (http://www.autohotkey.com/docs/commands/WinMove.htm) WinMove, A,, 0, 388, 578, 388