Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any hotkey, AppleScript or separate application for that? I don't really like kill 20 applications manually every time I make reboot.

share|improve this question
Do you have to kill the applications before or after reboot? – Mark Mar 6 '13 at 23:46

The Finder should safely quit any open apps whenever you logout or reboot. If there is a document with unsaved changes It will prompt you to save or discard the changes before quitting. The keyboard shortcut is Command-Option-Shift-Q.

If you do not want all the apps restarting when you log back in, uncheck the "Reopen windows when logging back in" checkbox in the logout dialog.

share|improve this answer

You can often just hold ⌘Q, or uncheck "Reopen windows when logging back in" in the ⇧⌘Q dialog. Anyway, here is a shell script that quits applications shown in the Dock in parallel:

for a in $(osascript -e 'set text item delimiters to linefeed
tell app "System Events" to name of processes where background only is false
result as text'); do osascript -e 'on run {x}
quit app x
end' -- "$a" &

You can assign it a shortcut with an application like Alfred or FastScripts.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.