applescript - How to click a checkbox of a drop-down tab in System Preferences -
I am trying to create an AppleScript to replace an option in System Preferences. The checkbox is displayed by clicking on "Mouse option ..." in the "Access and change pad" menu of the "Access Options" pane. The script I have written so far is able to navigate through system preferences so that the desired checkbox is clicked To be. However, I do not find a way to click the checkbox, it appears because the checkbox is within the 'drop down tab' of a type of window. Show the application Activate "System Preferences" Set the current pane to the pane ID "com.apple.preference.universalaccess" The name of each anchor of the pane id "com.apple.preference. Universalaccess "anchor reveals" mouse "pane id" com.apple.preference.universalaccess "Show application" system events "to tell the" system preferences "process, click on the window's" button "button to tell" ...