Say if I clicked open 10 image files, and 2 PDF files, and quit Preview, then next time when I click on 1 image file or just start Preview, all those 12 other windows will open too... I was playing a clicking game to close them one by one... is there a quick way to make Preview not do that or "Close All"? (while keeping other apps to open the previous state).

2 Answers 2


Something like RestoreMeNot or Tinker Tool can be used to selectively control which apps restore their windows and should be able to do what you want.

Alternatively, using + + W in Preview (and most other apps) will close all currently open windows.

  • it does work... just wonder why OPT-CMD-w is not listed on the File menu Apr 22, 2012 at 9:51
  • 1
    @動靜能量 It is, but its kind of hidden. You'll see it if you open the File menu and press the ⌥ key. The "Close Window" item changes to "Close All". This sort of thing is also the case for a lot of apps.
    – binarybob
    Apr 22, 2012 at 11:19
  • so the OPT key is a way to show more choices... the original list is shorten so that it is not exceedingly long... good to know, but sorry can't give you more up votes as i am limited to one vote Apr 23, 2012 at 5:32
  • but the way I tried CTRL and CMD or Fn, and they don't do that... just the OPT key does Apr 23, 2012 at 5:33

As an alternative to RestoreMeNot, you can run a command like this in Terminal:

defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false

If others search for how to disable restoring state for all applications, enable this option:

I have disabled restoring state from System Preferences but enabled it just for Safari:

defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .