7 - left half of screen A
8 - right half of screen A
9 - left half of screen B
+ - right half of screen B
These next ones position the current window in horizontal slots:
4 - top half of screen A
5 - top half of screen B
1 - bottom half of screen A
2 - bottom half of screen B
Two keys for full screen:
/ - full screen A
* - full screen B
Here's the AutoHotKey code (tweak the numbers for your screen size):
Numpad7::
WinGetActiveTitle, Title
WinMove,%Title%,,-1735,0,868,1200
return
Numpad8::
WinGetActiveTitle, Title
WinMove,%Title%,,-868,0,868,1200
return
Numpad9::
WinGetActiveTitle, Title
WinMove,%Title%,,0,0,700,1050
return
NumpadAdd::
WinGetActiveTitle, Title
WinMove,%Title%,,700,0,700,1050
return
Numpad4::
WinGetActiveTitle, Title
WinMove,%Title%,,-1735,0,1735,600
return
Numpad1::
WinGetActiveTitle, Title
WinMove,%Title%,,-1735,600,1735,600
return
Numpad5::
WinGetActiveTitle, Title
WinMove,%Title%,,0,0,1400,525
return
Numpad2::
WinGetActiveTitle, Title
WinMove,%Title%,,0,525,1400,525
return
NumpadDiv::
WinGetActiveTitle, Title
WinMove,%Title%,,-1735,0,1735,1200
return
NumpadMult::
WinGetActiveTitle, Title
WinMove,%Title%,,0,0,1400,1050
return
Hi Jon,
ReplyDeleteI love autohotkey and had a similar thing until recently when I can across a util called WinSplit Revolution. Have a look over at:
http://reptils.free.fr/
Stu
Cool, I sometimes split my screen in a 50/50 vertical (I have a widescreen), but I don't have hotkeys for it. I have for fullscreen, restore etc, but not the split.
ReplyDeleteNow, the quest to find a way to do this in KDE begins..
Thanks Stu - I'll check it out!
ReplyDeleteThomas - Thanks for stopping by - Hopefully KDE has a similar sort of macro program.