check-out the cool little program. http://www.autohotkey.com/forum/topic21703.html
I used to write scripts using Powerpro's window functoin ( i.e. move, resize.) But the behavior is not that stable. Something ( don't know if it's a window or class or what) will be left behide once a while, after I moved a window. Windowpad is more solid that I don't have a problem so far.
