Automator: Creating a Program to Quit All Apps

| TMO Quick Tip

A common cause of the dreaded “spinning beach ball of death” is a Mac not having enough resources to continue doing what it’s being asked to. If you tend to open three dozen programs at once and you’ve only got 1GB of RAM, you’re not going to be very happy with your system’s performance. 

Ahhhhh! Nooooo!

To speed things up again, you can try quitting any unused programs in a ton of different ways—by going through and closing each one individually, for instance, or by logging out (assuming your Mac isn’t set to reopen everything when you log back in). In the interest of saving a bit of time, though, we’re gonna create our own little application to quit all of the apps we’ve got running at once. So let’s go check it out!

First, open Automator, which is in your Applications folder. Now, I'm no icon connoisseur, but I think this is just swell:

When Automator launches, you’ll see a window asking you what type of file you’d like to create. A few of those would work just fine, but I’m going to pick “Application” here so that I can put my creation in the Dock and access it quickly.

After you’ve chosen your file type, you’ll see the main Automator window. The action we’re looking for is under the “Utilities” section on the left, and it’s labeled “Quit All Applications.”

So drag that over and drop it onto the rightmost pane…

…and you’ll be able to choose what options you want for your new application.

Obviously, you’ll probably wanna toggle on the “Ask to save changes” checkbox; seems like not losing your work would be a good idea, right? Also, you can add in any programs that you don’t ever want to quit, or you can click on the “Add current applications” button to automatically exclude anything that you’ve got running.

When you’ve configured things just so, name and save your handy little application somewhere by choosing File> Save. Afterward, you can drag its icon to your Dock for quick access.

One final note: If you do put your “Quit All” program in the Dock, make sure that you click on your Desktop (or somewhere else in Finder) before you invoke it. It won't quit whatever app is active when it launches from the Dock, so if you're working in Contacts, say, and you click on the "Quit All" Dock icon, Contacts will stay open when everything else quits. If you don't like that behavior, save your Automator application to the Desktop (or wherever) and use it from there instead.

Of course, you could see this as a feature instead of as a problem—if there's an app that you don't want to quit, click on its Dock icon to bring it to the front, and then click on your "Quit All" Dock icon. Hey, that's a great way to spin it! It's like I should work for Apple or something!

Hint hint.

Comments

Steven Moore

Nice tip.
Even if you are not tight on memory if you want to run a game say and want to squeeze every ounce of performance from your machine quitting everything may help.

Melissa Holt

Great suggestion, Steven! Thanks.

BurmaYank

No, Apple - please don’t hire Mellissa, we’d miss her too much!

Melissa Holt

Aw, shucks! Thank you, BurmaYank! Though I don’t think we’re actually in any danger of Apple hiring me out from under TMO. grin

RonMacGuy

Thanks Melissa. Can you also make one to minimize all apps? That would come in handy for me.

Melissa Holt

Hey Ron,

As far as I know, there’s no way to minimize open windows from all applications (though I’d love to hear from anyone who’s got an idea on that). You could, however, use Option-Command-M to minimize all of the windows in your current application or Finder’s Option-Command-H (Finder> Hide Others). I also like using Fn-F11 to show my Desktop.

Hope that helps!
Melissa

iJack

The utilities app ‘MainMenu’ has “Quit All Applications” as one of it’s Processes choices. It does not quit the Finder, though you can choose to ‘Relaunch Finder,’ ‘Relaunch Dock,’ or ‘Relaunch System Menu Bar’ from the same menu.

MainMenu is always in the OS menu bar, across all applications.

RonMacGuy

Thanks iJack. I will take a look.

Log-in to comment