a sample program to show how to automate repetitive mouse and keyboard activities.
To use this program, you need to install pyHook, PyWin32 and PyAutoGui.
A detailed description can be found here.
Record mouse clicks:
python record.py session_name
Replay:
python replay.py session_name