November 2012
Intermediate to advanced
424 pages
11h 59m
English
| Tip 323 | Make a “Quit All” App |
Ever wanted to quit every single open application? Perhaps you want to free up memory for the launch of another app.
You can create an app using AppleScript Editor that you can place in the Dock and that will quit all open apps when clicked. Here are the steps:
Start AppleScript Editor by double-clicking its entry in the Utilities folder of Applications in Finder. If no new file (Untitled) window is visible, click File→New.
In the main code area, type the following:
| | tell application "System Events" to set quitapps to name of every |
| | application process whose visible is true and name is not "Finder" |
| | repeat with closeall in quitapps |
| | quit application closeall |
| | end repeat |
Click the Compile button on the toolbar to ...
Read now
Unlock full access