Filed under: Software, Productivity, Tips and tricks, Internet Tools
AppleScript to view next unread message in Mail
I tried this out with my preferred everything-launcher, Quicksilver, and it worked like a charm. I saved the script in Script Editor, then simply added it as a Trigger in Quicksilver with a keyboard shortcut. This has the fortunate side effect of being accessible from anywhere in the OS, so when I press my hotkey, Mail comes to the front and moves to the next unread message in the selected mailbox. Here's hoping Apple's Mail engineering team is listening and has something a little more integrated cooked up for Leopard's Mail.
[via Hawk Wings]

![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
James said 10:17AM on 7-21-2006
Or you could just set up a smart folder to show unread messages only. Seems a lot easier than using Applescript.
Reply
initials.bb.paris said 10:25AM on 7-21-2006
"If you've ever wished for the ability to go to the next unread message in Mail, instead of having to shuffle through all the unread ones"
... um, i don't understand the point of this script ! typo ?
Reply
Marky said 10:38AM on 7-21-2006
I agree. A smart folder seems an easier and simpler solution.
Reply
kevin said 2:31PM on 7-21-2006
#2 - same here, also confused. what the hell does that line mean?
Reply
David Chartier said 6:09PM on 7-21-2006
#2 and 4: Sorry for the confusion. I hope this explanation helps: A lot of email app users like to be able to hit a key to move directly to the next unread message, as opposed to simply jamming on the arrow keys to move up and down through a list of messages that might include a lot of previously read messages. This is an AppleScript that adds that ability.
Reply
Rihanna said 7:28AM on 7-23-2006
Yes a smart folder is always going to be simpler.
Reply