Created
October 20, 2012 13:48
-
-
Save kikaigyo/3923323 to your computer and use it in GitHub Desktop.
起動中のアプリ全てを終了するAppleスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(*起動中のアプリを全て終了するが、メニューバー常駐のは含まれない*) | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment