Windows 3.1 used to have the ability to record macros, a capability that never made it to later versions. There are a lot of things batch files can’t do. But I spotted a reference to AutoIt on Digg, and that looks useful.Basically it will script keystrokes and mouse movements, as well as giving you BASIC-like program logic. It’s not something you need often, but when you need it, you’ll need it badly.