ユーザー補助デバイスのアクセスを有効にするチェックボックスを自動的に選択しようとしています。
以下は、正しい設定ウィンドウを開く私のコードです。ただし、チェックボックスを設定していません。
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.universalaccess"
end tell
tell application "System Events"
set theCheckbox to checkbox "Enable access for assistive devices"
tell theCheckbox
if not (its value as boolean) then click theCheckbox
end tell
end tell