Recording your keystrokes with the scripting engine