Re: UI Scripting menu items
Re: UI Scripting menu items
- Subject: Re: UI Scripting menu items
- From: John Delacour <email@hidden>
- Date: Thu, 10 Apr 2003 14:17:51 +0100
- Mac-eudora-version: 6.0a14
At 8:51 am -0400 10/4/03, Bill Cheeseman wrote:
The best way to try to control this is to include a command in your script
that opens the menu holding the menu item of interest, in order to let the
target application determine the proper current contents of the menu. It
doesn't always work, but I believe it sometimes does.
In that case this ought to do the trick:
tell application "System Events" to tell process "Eudora"
set frontmost to true
tell menu bar 0 to click menu "input"
keystroke return
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.