| Search by tag or site | Login to my blog ? Start my own blog |
Jon Aquino's Mental GardenTechnologies that make life wonderful |
[windows] Autohotkey For Fast Window Positioning
Posted on 09/13/2007 20:55 PM | Link | Post Comment
You can do some neat things with AutoHotKey (Windows scripting program). This morning I assigned some scripts to my numeric keypad to position the current window in vertical slots:
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):
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
- Cool Service: Uptime Website Monitoring Service
- Svn Time-lapse View
- Royal Canadian Air Force "5bx" Daily 15-minute Exercise Program
- Simplicity And Difficulty Are Orthogonal
- October Challenge: Reading Knuth's "the Art Of Computer Programming"
- Oct 2007
- Sep 2007
- Aug 2007
- Jul 2007
- Jun 2007
- May 2007
- Apr 2007
- Mar 2007
- Feb 2007
- Jan 2007
- Dec 2006
- Nov 2006
- Oct 2006
- Sep 2006
- Aug 2006
- Jul 2006
- Jun 2006
- May 2006
- Apr 2006
![]()
Examples
Morpheus Trading - Mon Jul 21, 2008 08:33AM
NOTE: Please click on the charts below to enlarge them if [read more]
NOTE: Please click on the charts below to enlarge them if [read more]
Morpheus Trading - Mon Jul 21, 2008 08:31AM
NOTE: Please click on the charts below to enlarge them i [read more]
NOTE: Please click on the charts below to enlarge them i [read more]
Millionaire Now! by Larry Nusbaum - Tue Jul 22, 2008 09:23AM
Hedge funds have made billions this year shorting the banks, [read more]
Hedge funds have made billions this year shorting the banks, [read more]












<< My Home | TheMoneyBlogs Home