"Automate almost anything by sending keystrokes and mouse clicks. You
can write a mouse or keyboard macro by hand or use the macro recorder."
http://www.autohotkey.com/
I have been using this and it is slick. One of the coolest features is
the ability to search for a bitmap on the screen of the application you
are automating.