In DOS days I did far too much using Microsoft's Batch programming "language" (still a surprisingly useful skill). In OS/2 days I was fond of ReXX (spelling?). At various times since then Microsoft has had a variety of batch or scripting tools; they've never been very well accepted. Even AppleScript, often forgotten, has gotten more traction. (Recently AppleScript has become very useful, and it will be even more central and critical in Tiger.)
AutoIt is one partial solution; open source and free.
I've also used Hot Keyboard Pro, which is only a partial solution.