Quit Without Keeping Windows in Lion
Posted June 19th, 2011 @ 08:08pm by Erik J. Barzeski
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