Repeater

Repeater is a tool specially designed for recording and playback user actions such as mouse movements and clicks, standard and hardware keystrokes, vertical and horizontal scrolling & zooming. It is also capable of storing information about currently running applications to launch them on playback.
First of all, see generic overview.
Repeater can work over SSH connection! Paired with stealth mode and built-in preview, it is easy to spy what your kids are actually doing while you are away... (Command line knowledge is necessary for some operations.)
Advanced features are controlled by setting command line arguments and environment variables:
To turn on the autoplayback mode you should pass the path to recording file as launch parameter and set the DIR_PLAY environment variable to "1".
E.g.,

DIR_PLAY=1 ./Repeater /tmp/some.record
(with call via ./ we suppose you are in the /Applications/Repeater.app/Contents/MacOS directory)

To turn on the autorecording mode you should set the DIR_REC environment variable to "NUM,PATH", where NUM is the number of seconds the utility should record and PATH is the path to recording file.
E.g.,

DIR_REC="5,/tmp/auto.record" ./Repeater

The recording starts immediately after program's launch. Note that if there were no user actions in the recording time span, no file will be created.
To start the autorecording mode with delay, you should set the DIR_WAIT environment variable to "1".
If both DIR_WAIT and DIR_REC are set, the recording will start after first user action and will go on for the time set in the NUM parameter of DIR_REC.
E.g.,

DIR_WAIT=1 DIR_REC="5,/tmp/auto.record" ./Repeater

Use zero value to record a clip not limited by time. You can finish current recording gracefully with SIGUSR1 signal:

killall -SIGUSR1 Repeater

Set the DIR_LOOP environment variable to "1" to turn on the loop mode, which is the same as to press the loop button in the UI.
Set the DIR_HIDE environment variable to "1" to turn on the invisible mode. In this mode the application window, menu and Dock icon are hidden.
During the standard playback you can interrupt it by any action such as mouse movement or a keystroke.
In the blocking mode you should use CMD-OPT+any action to stop the playback. This mode is best suited for life presentations.
Set the DIR_BLOCK environment variable to "1" to turn on the blocking mode.
Set the DIR_QUIT environment variable to "1" to turn on the autoquit mode.
You may use advanced modes together (in adequate combinations of course).

See bellow, an abstract example of single line AppleScript source, to control Repeater's behavior:

do shell script "DIR_PLAY=1 DIR_QUIT=1 DIR_BLOCK=1 DIR_HIDE=1 /Applications/Repeater.app/Contents/MacOS/Repeater ~/Desktop/mouse-move.record"

We also offer free record file decompiler and compiler tools, so you can edit your file with simple text editor (at your own risk). You can change delay between events, remove unimportant events, etc... Be careful, since some compiled records can't be played due to system specific interpretation of events... Hold your original records in safe place and don't overwrite them with compiled versions before multipass testing. Feel free to replace NanoDelay to Delay with seconds, e.g use Delay: 3.5 for 3.5 sec. pause between events pair.