Also, Jgpaiva's
GridMove is an excellent program for arranging windows without the mouse, but to tell you the truth, I wanted something just a tiny bit simpler. Here's an .ahk script I came up with:
ScrH = %A_ScreenHeight%
ScrW = %A_ScreenWidth%
ScrHm := ScrH/2
ScrWm := ScrW/2
^#NumPad1::
Gosub, window
WinMove,A,,0,ScrH-WinH
Return
^#NumPad2::
Gosub, window
WinMove,A,,ScrWm-WinWm,ScrH-WinH
Return
^#NumPad3::
Gosub, window
WinMove,A,,Scrw-WinW-40,ScrH-WinH
Return
^#NumPad4::
Gosub, window
WinMove,A,,0,ScrHm-WinHm
Return
^#NumPad5::
Gosub, window
WinMove,A,,ScrWm-WinWm,ScrHm-WinHm
Return
^#NumPad6::
Gosub, window
WinMove,A,,ScrW-WinW,ScrHm-WinHm
Return
^#NumPad7::
Gosub, window
WinMove,A,,0,0
Return
^#NumPad8::
Gosub, window
WinMove,A,,ScrWm-WinWm,0
Return
^#NumPad9::
Gosub, window
WinMove,A,,ScrW-WinW,0
Return
^#q::
ExitApp
window:
WinGetPos,,,WinW,WinH,A
WinWm := WinW/2
WinHm := WinH/2
Return
To use: Press Ctrl+Win+ a key representing a compass point on your number pad and it will throw the active window to that edge of the screen. Ctrl+Win+5 will center it and Ctrl+Win+Q will exit the script.