I’m trying to select a particular menu item in Chrome’s toolbar “overflow” (three dots) menu. But this isn’t working out for me - I can’t figure out how to address the menu.
Here’s the script I have so far.
tell application "Google Chrome" to activate
tell application "System Events"
tell application process "Google Chrome"
tell window 1
tell toolbar 1
tell (first button whose accessibility description is "Chrome")
click
(* How to select my menu item now? *)
end tell
end tell
end tell
end tell
end tell
Since I do not know with scripts, I would have given the tip with the shortcut also @iNik.
So that you can easily forget the shortcut use a palette with BetterTouch Tool. Check out this video here. Use the pallets in all my apps.