Mac Help Forums


Reply
Thread Tools Display Modes

Applescripting for Entourage

 
Senior Member
zeyhra's Avatar
Join Date: Mar 2006
Location: Santa Cruz, California
Posts: 198
 
      29th March 2006
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.
 
Reply With Quote
 
 
 
 
Ric Ric is offline
Senior Member
Ric's Avatar
Join Date: May 2004
Posts: 4,260
 
      29th March 2006
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
 
Reply With Quote
 
Senior Member
zeyhra's Avatar
Join Date: Mar 2006
Location: Santa Cruz, California
Posts: 198
 
      29th March 2006
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!
 
Reply With Quote
 
Ric Ric is offline
Senior Member
Ric's Avatar
Join Date: May 2004
Posts: 4,260
 
      29th March 2006
No problem !

glad it helped.

regards

Ric
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescripting Automator. aaabha AppleScript 0 19th August 2010 11:31 AM
AppleScripting Numbers '09? Chris Schram AppleScript 22 13th February 2009 08:30 PM
Applescripting Mail Justin C UK Macs 0 3rd April 2008 10:49 AM
Applescripting VLC Une bévue AppleScript 5 5th July 2006 10:09 AM
Applescripting Automator jkevinwolfe AppleScript 6 5th October 2005 11:03 AM


All times are GMT +1. The time now is 10:25 PM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Yikes! Teacher needs help!
Mollyc4627 (1 Hour Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (4 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (5 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (6 Hours Ago, 03:31 PM)

Best car charger or inverter for Macbook Pro?
imeme87 (7 Hours Ago, 03:22 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51