Applescripting for Entourage

Joined
Mar 28, 2006
Messages
198
Reaction score
5
I need help with scripting that I would tag on to the end of one of my exisiting scripts. The last bit of my existing script closes the message window. What I can't figure out is how to make the script then tell Entourage to select the next (or previous) message in the mailbox.
Any help would be much appreciated.
 

Ric

Joined
May 14, 2004
Messages
4,245
Reaction score
5
Hi there,

I haven't got Entourage on this Mac at the moment so I can't look at the dictionary...

...have you had a look through the dictionary to see if there are any references to next message etc in it ?

If there aren't then you can always fall back on GUI Scripting...

This would tell mail to move to the next message... (ie press the 'Down Arrow Key')

activate application "Mail"
tell application "System Events"
tell process "Mail"
-- GUI Scripting statements:
keystroke (ASCII character 31)

end tell
end tell


regards

Ric
 
Joined
Mar 28, 2006
Messages
198
Reaction score
5
That's just too easy! No wonder we had people getting frustrated over this one! We figured it had to be more colmplicated than a simple down arrow command (we've spent several days scouring the Entourage Dictionary for some kind of clue with no answers!) Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top