Heya,
I’m trying to write a script to alter which screen my pen tablet is using, but am having issues navigating around once I’m in system preferences. So far I have…
tell application "System Preferences"
activate
set current pane to pane "Pen Tablet"
tell application "System Events"
tell application process "System Preferences"
tell window "Pen Tablet"
click radio button "Pen Mode"
click button "Details..."
end tell
end tell
end tell
end tell
return input
But both of the click commands fail, so I can’t get any further thus far. Let me know if a screenshot will help. Thanks!