Re: Menulet scripting
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