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

Trackback URI | Comments RSS

Leave a Reply

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.