Mit dem folgenden AppleScript, kann man automatisiert alle Programme, bis auf die im Skript angegebenen, beenden. Dazu muss man das Skript nur in den Scripteditor kopieren, und als Programm speichern.
-- Hier die Programme eintragen, die nicht beendet werden sollen...
set DoNotQuit to {"Finder", "Synk"} as list
tell application "Finder" to copy (name of every process) to ActiveProcesses
set ActiveProcesses to ActiveProcesses as list
if ActiveProcesses ≠ {} then
repeat with AppToQuit in ActiveProcesses
try
with timeout of 3 seconds
if (AppToQuit as string) is not in DoNotQuit then
tell application AppToQuit
activate
quit
end tell
end if
end timeout
end try
end repeat
end if