0

The following AppleScript works.

tell application "VoiceOver"
    tell commander to perform command "item chooser"
end tell

However, the following JXA throws an error: "Error 6: An error occurred."

vo = Application("VoiceOver")
vo.commander.performCommand("item chooser")
chibop
  • 119
  • 9

0 Answers0