How This Works
The Automator app on Mac helps automate many of your routine tasks, including closing apps. You can create an app that quits all running apps and then pin it to the Dock.
Then, you can single-click the custom app on the Dock when you want to close all your Mac apps. Pretty easy!
Close All Running Apps with a Single Click on Mac
To start creating an app that closes all running apps on Mac, open Automator. Do this by pressing Command+Spacebar to open Spotlight, typing “Automator,” and selecting “Automator” in the results.
In Automator, select File > New in the menu bar at the top to create a new app. Alternatively, press Command+N.
New” in Automator.” data-pagespeed-lazy-src=”https://www.howtogeek.com/wp-content/uploads/2021/05/new-automator-document.png?trim=1,1&bg-color=000&pad=1,1″ height=”342″ onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” src=”https://www.howtogeek.com/pagespeed_static/1.JiBnMqyl6S.gif” width=”650″>
In the “Choose a type for your document” pop-up that opens, select “Application.” Then, click “Choose” at the bottom of the pop-up.
Next, Automator’s main window will open. In the top-left corner, select “Actions.” Then, click the text box next to “Actions” and type “Quit All Applications.”
An action named “Quit All Applications” will appear beneath the text box. Drag this action and drop it onto the gray pane on the right. This adds the action to your app.
Automator will now let you configure your newly added action. In the “Quit All Applications” section on the right of the Automator window, enable the “Ask to save changes” option if you want your app to ask to save changes before the running apps are closed.
Then, in the “Do not quit” section, click “Add” to add an app that must not be closed when you run your Automator app. For example, if you want all your apps to close except for your web browser, add your web browser here.
Save your app by clicking File > Save in Automator’s menu bar.
Save” in Automator.” data-pagespeed-lazy-src=”https://www.howtogeek.com/wp-content/uploads/2021/05/save-automator-app.png?trim=1,1&bg-color=000&pad=1,1″ height=”387″ onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” src=”https://www.howtogeek.com/pagespeed_static/1.JiBnMqyl6S.gif” width=”650″>
In the save prompt, click the “Save As” box and enter a name for your app. Click the “Where” drop-down menu and choose “Desktop,” and then hit “Save” at the bottom.
Your newly built app will now be available on your desktop. Double-click this app to close all running apps on your Mac.
To make this a single-click process, drag your app from your desktop and drop it onto the Dock at the bottom of your Mac’s screen. Then, single-click your custom app in the Dock and it will close all running apps.
That’s how you get rid of all your open apps at once.