Next unread message in Mail.app
Next unread message in Mail.app
- Subject: Next unread message in Mail.app
- From: Jim Krenz <email@hidden>
- Date: Wed, 20 May 2009 18:07:26 -0700
Hello all,
I am trying to create a script that will move to the next mailbox with unread messages, and select the first unread message. I haven't been successful (I'm still a AppleScript beginner). Here is what I have thus far. Any suggestions are welcome.
tell application "Mail" to try tell message viewer 1 to set selected messages to {first message of beginning of (get mailbox whose unread count > 0) whose read status is false} activate on error beep end try |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden