Discard Windows on Quit to Prevent Resume from Reopening Last Session in OS X Lion

Jul 29, 2011 - 8 Comments

Discard Windows from Resume on Quit

Want to toss out the windows in your current application session, preventing them from reopening again via the Resume feature in OS X?

This is pretty easy you just have to remember to do it, to discard windows as you quit an app in Mac OS X just do the following:

Hold down the Option key while going to Quit and you will see the option to “Quit and Discard Windows”.

Choose that and quit.

When you quit with that option, you can relaunch the app and Resume will not relaunch any past windows. This is a great choice if you are browsing the web with a lot of tabs that you don’t want open again, and for a variety of other apps where the previously opened windows wouldn’t do you any good to automatically reopen.

Discarding windows this way is not a permanent change to Lion or the app, although you can disable window Resume completely if you don’t like the feature. Additionally, you can delete individual apps saved states after the fact.

.

Related articles:

Posted by: William Pearson in Mac OS, Tips & Tricks

8 Comments

» Comments RSS Feed

  1. […] if you’ve become accustomed to relying on autosave. This discarding trick has been around for a while, and it can apply selectively to every single Mac […]

  2. bill_blix says:

    Depends on how you have your preferences set. If you’ve got the resume window box unchecked then command quit will ONLY give you the quit and open windows option.

  3. Andrew says:

    You can also get around this by changing the keyboard shortcuts on the apps where you want a different behaviour from the system setting. I have the Resume feature turned off at the system-level, but in one app, OmniOutliner Pro, I like to re-open the windows I last had open (similar to what previous versions did before they updated the app to fit in with the Resume feature).

    To keep the windows on exit in this one app, I switched around the application keyboard shortcuts (in the Keyboard pref pane) for it to be:
    – Command+Alt+Q for ‘Quit OmniOutliner Pro’
    – Command+Q for ‘Quit and Keep Windows’

    Therefore, I can just keep using Command+Q consistently across my apps and have tweaked the behaviour for just this one to keep the windows on exit. A bit easier than mucking around with permissions on state files, etc.

    I’ve tested on Safari as well, but when I went back to having the Resume feature off, I didn’t need it anymore.

  4. Fapster says:

    Finally! This is a must have for Safari and QuickTime Player, heh

  5. Cam says:

    indeed a great tip! I have the global option in sys.prefs. checked off, but preview, textedit, quicktime, pages, numbers – just about everything still opens all previous windows unless I follow this tip. Or maybe I’m confusing the concept of resume with the concept of reopening windows. Anyway, great tip! thanks!

  6. @staticshokx says:

    this is a genius tip!

  7. Mr. D says:

    Hi. This is a great TIP, I began hating MAC OS X Lion because this ‘resume feature’.
    But following this tip, it only appears: “Quit and Keep windows”…
    Any ideas?

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site