Windows Mouse/Keyboard recorder

Back in the day (Win 3.11 and Win95 I think), Windows had a program called “Windows Recorder” which could record a sequence of mouse clicks and keystrokes and then play them back an arbitrary number of times.

Due to the irritating limitations of one of my Windows apps, I find that such a tool would be useful–only problem is, I can’t find anything like it. I suppose with some effort I could write it, but I’d rather not duplicate the effort. Does anyone know of a shareware/freeware tool for doing this in Windows XP?

You can find a number of them if you search for “macro” on download.com. This one looks promising, but I haven’t tried it.