Most useful AutoHotkey scripts?

Posted by Jon Erickson on Super User See other posts from Super User or by Jon Erickson
Published on 2009-07-17T16:52:45Z Indexed on 2010/04/16 14:43 UTC
Read the original article Hit count: 896

What AutoHotkey scripts have you found that proved to be extremely useful?

I'll share one that I am using for multiple monitors.

Windows + Right: Move window from the left monitor to the right monitor

#right::
WinGet, mm, MinMax, A
WinRestore, A
WinGetPos, X, Y,,,A
WinMove, A,, X+A_ScreenWidth, Y
if(mm = 1){
    WinMaximize, A
}
return

Windows + Left: Move window from the right monitor to the left monitor

#left::
WinGet, mm, MinMax, A
WinRestore, A
WinGetPos, X, Y,,,A
WinMove, A,, X-A_ScreenWidth, Y
if(mm = 1){
    WinMaximize, A
}
return

© Super User or respective owner

Related posts about Windows

Related posts about autohotkey