Sample Header Ad - 728x90

How to toggle Accessibility features with AppleScript in Ventura

2 votes
3 answers
2350 views
*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
Asked by Eddy Perez (21 rep)
Nov 10, 2022, 02:05 PM
Last activity: Jun 13, 2023, 10:50 PM