WinMacro is a program that can record and repeat routine tasks by creating macros. It is compatible with any application and can record almost everything you do on the desktop.
Open the program.
Press the button "Record" to start the process
To stop it press the Pause button or Ctrl + Esc or Ctrl + Alt + Del
The automated task will be saved in a file bearing the .fil extension.
The software is configurable so you can set the interval time or the speed with which it will play the recording.
WinMacro is open source which offers the opportunity to extend its functionality via scripts.