Quantcast [windows] Autohotkey For Fast Window Positioning
Search by tag or site Login to my blog ? Start my own blog














TheMoneyBlogs
Home
About
Create your own blog
Contact us
Vote for this blog!

Jon Aquino's Mental Garden

Technologies 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):

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
Stock Quote or
Examples
Morpheus Trading - Mon Jul 21, 2008 08:33AM
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]
Millionaire Now! by Larry Nusbaum - Tue Jul 22, 2008 09:23AM
Hedge funds have made billions this year shorting the banks, [read more]

PREMIER SPONSORED LINKS

Most Visited Blogs | Most Popular Blogs | Most Recent Blogs | Contact Us | Terms and conditions | Privacy Policy

The columns, articles, message board posts and any other features provided on TheMoneyBlogs.com are provided for personal finance, education and investment information and are not to be construed as investment advice. Under no circumstances does the information in this content represent a recommendation to buy, sell or hold any security. The views and opinions expressed in an article or column are the author's own and not necessarily those of TheMoneyBlogs.com and there is no implied endorsement by TheMoneyBlogs.com of any advice or trading strategy. The analysts and employees or affiliates of TheMoneyBlogs.com may hold positions in the stocks or industries discussed here. Your use of this and all information contained on TheMoneyBlogs.com is governed by the Terms and Conditions of Use. Please click the link to view those terms. Follow this link to read our Editorial Policy.

Copyright © 2008 The Connors Group, Inc.