AutoIt is a freeware scripting language that runs on every Windows operating system starting with Windows 95. It makes it possible to use a combination of mouse movements, keystrokes and window / control manipulation to automate tasks in Windows. It is also capable of executing Windows and Dos programs.
Automate and Record Tasks with Firefox
Shame on me that I did not discover this firefox extension earlier. Selenium IDE is a firefox extension that is able to automate, record and playback tasks in firefox. It has therefor more than one purposes but here is a great one that you will like. Many people do the same tasks when they start their browsers, check their webmail accounts, log into a forum they visit and check for the latest items on ebay for example.

