Using Automator to Close App Windows (Not Quit)

Hi guys, as the title says, is there any possible way to do this? Right now, I have an Automator application created to quit all my apps, which is especially useful when things get a little too messy, or if I just want to quickly tidy things up before handing my mac over to someone to use .


User uploaded file


But there are those 2 apps Messages and Mail which I set exceptions to. I would, however, like their windows to be closed NOT quit. I can't find any such option within Automator's 'Search' function and a couple of google searches didnt help either.


Would appreciate any help here. Thanks!

MacBook Air, OS X Mountain Lion (10.8.4)

Posted on Aug 30, 2013 8:46 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Automator to Close App Windows (Not Quit)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.