There is no decent keyboard navigation for common operations
like 'Go to next unread message'. I understand that if there
was a menu item, this is something I could fix myself. I know
that all Mac users are mouse-happy, but for things like email,
I *need* a keyboard. And I need it to be able to do most
operations. So much for Mail.app.
Save this as a compiled .scpt file called ... (wait for it)
"~/Library/Stripts/Mail Scripts/NextUnreadMessage___ctl-n.scpt"
try
tell application "Mail"
activate
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
end tell
end tell
on error error_message
beep
display dialog "Next unread message: " & return & error_message
buttons {"OK"} default button 1
end try
Doesn't that syntax make you think "what if Grace Hopper had been a
contemporary of Steve Jobs"? I know it fills me with hate...