Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Apple Script Automation Error (-1719) Menu

Hi,

I have no idea what I'm doing and am trying to source information off the internet to create an automation script for an application name "HiddenMe". I have no idea why I am getting this error and have provided the information sourced from the trial version of UI Browser Reader (a paid software), as well as the code.

tell application "System Events"
  tell process "HiddenMe"
  click menu item 3 of menu 1 of menu bar item 1 of menu bar 2
  end tell
end tell

User uploaded file

User uploaded file

Any help is much appreciated!

MacBook Air, OS X Mavericks (10.9.2)

Posted on

Reply

Page content loaded

Mar 12, 2018 6:11 AM in response to Kel-el In response to Kel-el

Assuming the GUI scripting is correct for this application. Double check your indexes in the click line. You may also require the use of a where clause to further refine e.g. click (menu item 1 where its name starts with "something") of menu 1 of menu bar item "View" of menu bar 1.


tell application process "HiddenMe"

set frontmost to true

click menu item 3 …

Mar 12, 2018 6:11 AM

Reply Helpful
User profile for user: Kel-el

Question: Apple Script Automation Error (-1719) Menu