Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Go to next unread message in Mail via keyboard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Go to next unread message in Mail via keyboard
Authored by: bluehz on Jun 07, '04 01:23:24PM

Is there a way to get Mail.app toactually open the next unread msg as opposed to just highlighting it as this script does? This is the same sort of action as Eudora. I tried adding:

open selected messages

as in

tell the front message viewer
set unreadMessages to (the messages whose ¬
read status is false) as list
if (count of unreadMessages) is not 0 then
set selected messages to {the first item of unreadMessages}
else
beep
end if
open selected messages
end tell

and it does work for the first initiation of the script (e.g. it opens the first unread msg), but each subsequent invocation of the script does nothing but highlight the next unread msg.



[ Reply to This | # ]