Scripting Entourage menus

S

Steve Collins

Is there a way to use AppleScript to script Entourage menus? I'm
trying this and getting a syntax error when trying to use or save it:

tell application "Microsoft Entourage"
do menu menu item "Edit Custom Menu" of menu "Edit"
end tell
 
M

Mickey Stevens

Untested:

tell application "System Events"
tell process "Microsoft Entourage"
click menu item "Edit Custom Menu" of menu "Edit" of menu bar item "Edit" of
menu bar 1
end tell
end tell

Note that you first have to select a valid menu item for this to work. I
don't see an "Edit Custom Menu" item under the Edit menu.
 
P

Paul Berkowitz

And that (with a valid menu item, that is) will only work if you have first
checked "Enable access for assistive devices" in Universal Access System
Preferences.

And of course there's no such menu item as "Edit Custom Menu".

Are we talking about Entourage here, Steve? Where are these imaginary menu
items coming from?

It sounds to me as if perhaps you're hoping there's some way to custom
Entourage menus, as there is in Word? There's no way to do that, I'm afraid.

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Entourage you are using - **2004**, X
or 2001. It's often impossible to answer your questions otherwise.



From: Mickey Stevens <[email protected]>
Newsgroups: microsoft.public.mac.office.entourage
Date: Sat, 12 Jun 2004 09:59:48 -0500
Subject: Re: Scripting Entourage menus

Untested:

tell application "System Events"
tell process "Microsoft Entourage"
click menu item "Edit Custom Menu" of menu "Edit" of menu bar item "Edit" of
menu bar 1
end tell
end tell

Note that you first have to select a valid menu item for this to work. I
don't see an "Edit Custom Menu" item under the Edit menu.
 
D

Dave Cortright

And one more thing tangential to this topic. If you have OS 10.3, go to the
System Preferences (in the Apple menu), click Keyboard and Mouse, click the
Keyboard Shortcuts tab, and then add a shortcut for any Entourage menu item
you wish.
 
Top