Applescripts for Ventura's new System Settings
My old Applescript stopped working on Ventura. Any ideas on how to fix this script?
tell application "System Preferences"
reveal anchor "TextToSpeech" of pane id "com.apple.preference.universalaccess"
end tell
tell application "System Events" to tell process "System Preferences"
set theCheckbox to checkbox "Speak items under the pointer" of group 1 of window "Accessibility"
tell theCheckbox
set checked to true
click theCheckbox
end tell
end tell