24 lines
551 B
AppleScript
Executable File
24 lines
551 B
AppleScript
Executable File
#!/usr/bin/osascript
|
|
|
|
# Required parameters:
|
|
# @raycast.schemaVersion 1
|
|
# @raycast.title Quit All Apps
|
|
# @raycast.mode silent
|
|
# @raycast.packageName System
|
|
|
|
# Optional parameters:
|
|
# @raycast.icon 🛑
|
|
|
|
# Documentation:
|
|
# @raycast.description Quits all running applications.
|
|
|
|
tell application "System Events"
|
|
set allApps to application processes whose background only is false
|
|
repeat with appProc in allApps
|
|
set appName to name of appProc
|
|
try
|
|
tell application appName to quit
|
|
end try
|
|
end repeat
|
|
end tell
|