Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Every time I launch Mail.app it opens up a new window for each of the email messages I was checking previously. How do I stop this from happening? It only opens the emails that I launched in a new window previously, not every email message I hover over.

share|improve this question
1  
Close the mail viewer windows before quitting Mail.app. Seriously, it's a useful, state-preserving feature. Press Cmd-Opt-W or Opt-click the close button of one of Mail's windows to close them all, just before you quit. –  Daniel Beck Apr 17 '11 at 19:03
    
Should have made that the answer Daniel. Thanks! –  Eric Muyser Sep 16 '11 at 16:37

1 Answer 1

if you really want to be lazy you could put this script in your script menu and run it when you open mail

tell application "Mail"
    set window_names to name of every window
    repeat with awindow in window_names
        if awindow does not contain "messages" then close (first window whose name is awindow)
    end repeat
end tell
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.