Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AzureCloud

macrumors member
Original poster
Jun 20, 2009
51
0
I am attempting to use AppleScript (on OS X 10.6.2) within MacSpeech Dictate to enable a user to navigate Mail with voice commands. However, I don't have much experience with AppleScripting.

First, I made a basic script for Mail to open and select the Inbox, but I have no clue how to select the first message in the Inbox once it is open. If someone could suggest a script to use for selecting the first (most recent) message, it would be most helpful.

Also, I need to be able to move up and down through the list of messages once that first message has been selected. I have tried keyboard input commands, but those aren't entirely reliable. I was hoping that it is possible to set the most recent message as "message 1," then to navigate down, there would be a "select message 1+1" or a similar string. Any thoughts on a script that could accomplish this?

Thanks for your assistance with this; I am sorry if it is annoying dealing with non-programming individuals such as myself.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.