• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UI Scripting menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: UI Scripting menu items
      • From: Ken Liu <email@hidden>
References: 
 >Re: UI Scripting menu items (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Eudora - how to avoid format=flowed for scripting replies?
  • Next by Date: Re: Open fonts with suitcase in OSX
  • Previous by thread: Re: UI Scripting menu items
  • Next by thread: Re: UI Scripting menu items
  • Index(es):
    • Date
    • Thread