LoginSignup
0
2

More than 5 years have passed since last update.

AppleScriptで全てのアプリを終了 - MAC

Posted at

script editorを開く

Screen Shot 2018-10-01 at 15.37.49.png

new document

Screen Shot 2018-10-01 at 15.40.05.png

実装

Screen Shot 2018-10-01 at 15.40.28.png

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

保存された

Screen Shot 2018-10-01 at 15.40.36.png

使う

クリックすると実行される

Screen Shot 2018-10-01 at 15.40.46.png

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2