I’m working on automating setting system preferences, but I have a problem. This code should select Wi-Fi tab but scroll area 1 does not exist unless I click any element that belongs to scroll area manually. I tried emulating click with many external programs but even then I can’t access scroll area
tell application "System Preferences" activate reveal pane id "com.apple.preference.dock" end tell tell application "System Events" to tell application process "System Preferences" delay 1 tell scroll area 1 of window 1 select row 3 of outline 1 end tell end tell
Is there any other way to change Dock & Menu Bar settings or just to access scroll area items?