My AppleScript to choose sound output has broken in Monterey
My AppleScript to choose sound output has broken in Monterey
- Subject: My AppleScript to choose sound output has broken in Monterey
- From: Jim Krenz via AppleScript-Users <email@hidden>
- Date: Fri, 5 Nov 2021 18:13:18 -0700
Hello all,
This script was working in Big Sur.
I am trying the trial of UI Browser to try to figure this out, but I am failing.
Troubleshooting ideas on how to fix this?
tell application "System Events"
tell process "ControlCenter"
try
click (first menu bar item whose title is "Sound") of
menu bar 1
tell scroll area 1 of group 1 of window 1
click (first checkbox whose title contains
"AirPods Max")
end tell
end try
end tell
end tell
Thanks!
Sincerely,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden