Quit All Open Applications Instantly from the OS X Dock with a Simple Mac App

Jun 2, 2013 - 15 Comments

If you’ve ever needed to quickly quit out of all open applications in Mac OS X, you’ve probably just resorted to flipping through every open application in the Dock, then hitting Command+Q, then repeating until everything is closed. But there’s a better way, and with an extraordinarily simple Automator app you can create a function that will instantly quit all apps, leaving you with nothing open. Toss that little crafted app into the Dock and you’ll instantly be able to quit everything, leaving you with a nice clean slate.

Quit All Applications in Mac OS X

That little quit-all app is what we’ll cover here, it only takes a moment to setup:

  • Open “Automator”, found in /Applications/Utilities/
  • Choose to create a new “Application”
  • From the search box, type “Quit” and drag and drop the “Quit All Applications” option to the right side
  • Save the workflow as an application, name it something like “Quit Everything”

Yes the Automator workflow is that simple, and it should look like this when finished:

Quit All Applications in Automator

Once saved, you’ll now have a little application that does nothing but quit all other open apps. It’s instant, it doesn’t pass through Automator or anything else, and functions as a self-contained app that is extremely quick, here’s what it should look like by default.

Quit everything application

The default Automator generated icon isn’t too descriptive if you’re going to have it resting in the OS X Dock, so if you feel like giving it a custom icon you’re free to use the icon below, it was crafted in about two seconds with Preview as a transparent PNG. It should look decent in the OS X Dock, though it’s 256×256 resolution makes it impractical for large docks on retina displays.

Quit all apps icon

Once finished, drop the “Quit Everything” app into the /Applications/ folder, and then drag it into the Dock for quick access.

Launching the “Quit Everything” app does exactly what you’d expect, and it does not prompt to save changes if you have auto-save and window restore enabled, both of which are on by default in Mac OS X. Those two features should be left on as a data safeguard anyway, and they contribute to why this particular trick works so quickly, since it relies on window restoration to relaunch apps where they were left off.

If you’d rather not have an app or Dock icon, you could save the Automator action as a workflow or service instead, and then have it be accessible through a unique keyboard shortcut by adding one under the “Keyboard” system preferences. If you go that route, be sure to pick a keystroke combination that doesn’t conflict with existing system keystrokes.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac OS X, Tips & Tricks

15 Comments

» Comments RSS Feed

  1. RobertK says:

    Great tip. Since upgrading to Mavericks I can no longer see which applications are open by looking at the dock – which I keep on the left side of the screen. With the previous version of the OS I could at least see at a glance which applications were open. This is probably better anyway since I don’t need to quit apps one by one. Still, for all day usage I wish I could easily see which apps are open. The tiny white line on the light gray background is just too hard to see – even with my glasses on.

  2. inpro says:

    Mac OS X 10.8.5./ MBP
    Using this Automator App. doesn’t quit all app’s.
    Random, always 1 App did not quit, so……….???????

  3. bfisher003 says:

    I’ve tried building this application several times, but cannot get it to work on my new Mac Air. I am a new Mac user (just got the Mac Air for Christmas), so that may explain it, but did the writer leave any steps out assuming everyone would know what they are?

  4. skipole says:

    Does not appear to close all background apps.

  5. Charles says:

    Does not work!!!

    • FFS Charlie says:

      Charles, it works perfect and exactly as described. You did something wrong. Read the instructions and try again.

  6. Bill says:

    Thanks for this. I added an “Ask for Confirmation” step first. This way, if I click on the application by accident, I can cancel out.

  7. Joel Carlin says:

    Thank you for the great tip, I created [close all applications] app using Automator and have the app icon in the dock.

    The app apparently will quit all open apps only if the finder is the active app, otherwise it will leave any app open if it is in active window. So before running the app you must make sure that the finder is foremost.

    Thanks again.

    • pelly1960 says:

      Is there an ARD command to make the finder the active app?

    • LY says:

      Yes, this procedure doesn’t always work on some apps if the windows are still open. The only way to do this is to add a few more steps to the automator apart from the workflow. To do this, you’ll need to sandwich the Quit All Applications item in between two applescript sequences. The first tells Finder to activate. Only when the Finder window is above other application window will the Quit All Applications command work. After that the second applescript sequence tells Finder to close every open Finder window.

  8. RURICK says:

    Just like all other “help” articles you assume that the reader knows how to use automator.
    1st of all automator app is not in application/utilities but utilities. the quit autiomator is not where you said – I had to search, and when I moved it to the right side there was no way to save as – just save but I had no option to make it an app or decide where to save it.
    Very un intuitive..gave up.

    • Duna says:

      Actually, Automator is in /Applications/, look it up

      Maybe you didn’t find Automator because you mistyped it, it’s called Automator not ‘autiomator’

      You should buy an iPad, it would work well for you. Nothing about Automator is on the iPad.

  9. Very helpful coming from Windows. I was leaving everything open had no idea.

  10. LY says:

    In my reply to Joel Carlin’s post, I left some cryptic remarks about the advice given by this article not working entirely. It is true, the Quit All Applications action will oftentimes not work on applications that have a window open the desktop. The application needs to be more elaborate. Here are the steps.

    First, follow the instructions on this article to run Automator and to create a new Automator application.

    Second, select Library/Utilities/Run AppleScript. A new dialog box will open with this code already pre-entered for you:

    on run {input, parameters}

    (* Your script goes here *)

    return input
    end run

    Replace “(* Your script goes here *)” with:

    tell application “Finder”
    activate
    end tell

    This will get Finder to make the Finder window the window that is on focus, opening a new window if none is open at that point.

    Third, follow the instructions on this article to add the second step in this workflow, which is to Quit All Applications.

    Fourth, because Quit All Applications won’t close the Finder window that was activated in the second step, you’ll now have to get that window to close. For this, create a new AppleScript dialog and replace the “(* Your script goes here *)” with:

    tell application “Finder”
    close every open Finder window
    end tell

    That’s it. Save the application as suggested in the article and you’re all set to go.

    • EW says:

      Awesome applescript LY! Thanks for giving it to us. This is a great solution. However, when I ran it, I got an error. After looking into it I discovered the applescript above needs a tiny, tiny little tweek…

      “close every open Finder window” should be changed to “close every Finder window”

      Then it will work. Thanks again LY! :)

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates