I need to batch a process that requires me to automate some key presses. All I need to be able to do is hit the enter key, wait 5 seconds, hit the enter key again, wait 5 minutes, and then cmd + w to close the current window.
In the MacOS 9 days I would use OneClick by WestCode software: http://www.macworld.com/article/15791/2000/12/13reviews2oneclick.html
Is there a similar tool for MacOS X, Snow Leopard specifically? In this particular instance I do not need to can the focus of windows or anything else. I just need to automate key presses within a program at various intervals.