Marking all read in Mail.app

I’ve always been annoyed that the only way to mark all as read for a mailbox was with a contextual menu in the sidebar – lets change that.

I use Butler as my quicklaunch keyboard macro tool – but you could use your favorite one to run the following script while reading mail.

#!applescript
tell application "Mail"
    activate
    get message viewer 1's selected mailboxes
    repeat with thisBox in result
        set read status of (messages of thisBox whose read status is false) to true
    end repeat

end tell

I find this almost critical for getting through mailing list traffic.

1 comment so far ↓

#1 keith beck on 09.17.09 at 10:23 pm

Preston: I tried to answer your Question but I think I am getting rejected by ptone.com. Please send me an email and I’ll try again.

keith