Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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).

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
it does work... just wonder why OPT-CMD-w is not listed on the File menu –  動靜能量 Apr 22 '12 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 '12 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 '12 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 '12 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
share|improve this answer

Your Answer

 
discard

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.