• 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: Menulet scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menulet scripting


  • Subject: Re: Menulet scripting
  • From: Bob Stern <email@hidden>
  • Date: Tue, 27 Jun 2017 13:58:05 -0700

Thanks, David!  The menu item name property did not work, but sending the name
via keystroke did.  Here's how I selected an item from a sub-menu:

tell application "System Events"
        tell menu bar 1 of process "exaSoundDashboard"
                click menu bar item 1 -- Menu drops down, then 2 sec delay.
                keystroke "Mode" -- only first character suffices.
                delay 0.5
                key code 124 -- right arrow
                delay 0.5
                keystroke "ASIO" & return
        end tell
end tell

@Rudolf:  Thanks for the recommendation of cliclick.  A useful item to have in
the toolbox.  Good to see that Carsten Blüm remains active!

--Bob Stern
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Menulet scripting (From: Bob Stern <email@hidden>)
 >Re: Menulet scripting (From: Takaaki Naganoya <email@hidden>)
 >Re: Menulet scripting (From: Bob Stern <email@hidden>)
 >Re: Menulet scripting (From: David Gregg <email@hidden>)
 >Re: Menulet scripting (From: David Gregg <email@hidden>)
 >Re: Menulet scripting (From: Iurista GmbH <email@hidden>)

  • Prev by Date: Re: Menulet scripting
  • Previous by thread: Re: Menulet scripting
  • Next by thread: Re: Menulet scripting
  • Index(es):
    • Date
    • Thread