I have Automator automatically open certain applications at a certain time in the evening. The next morning the windows are open. I would like to avoid having to close them by hand with cmd-w, I want Automator to do that for me automatically after opening the apps. Automator can open Apple Script, but what do I enter next?