Subscribe to
Posts
Comments
NSLog(); Header Image

Quit Without Keeping Windows in Lion

I see no reason why QuickTime Player or Preview should restore their state. They're not really "editing" applications, and I rarely close windows in them before I quit the app, particularly if I have only one window open.

So, these terminal commands take care of that:

defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false

defaults write com.apple.QuickTimePlayerX NSQuitAlwaysKeepsWindows -bool false