Need something to record my actions

Not sure where to post this message, thought I’d try in here first.

I have developed a few interactive CD’s.

I need to have them played and ‘interacted’ automatically.
I can write some code for this, but wanted to know if there was something out there that could help.

I’ve looked up Captivate on Macromedia.
Not sure if this will do the job.
It certanly records mouse actions, which is what I need.

The only problem is that my work, when clicked, may run at different speeds.
So a mouse click on location (x, y) after X seconds may not always have the desired results.

Any help would be appreciated.