Arm And Record Script, Some Problems

I guess that is me mixing up Conner with Joel. He mentioned os.time instead as well, but os.clock you can go a biut more precise.

Btw:The sample recording only works when the recording dialog is prominent visible according to the API docs.