システム環境設定の「ネットワーク」設定の「詳細」メニューで「Web プロキシ」および「セキュア Web プロキシ」オプションを有効にする Applescript を作成しようとしました。
これまでの私のアップルスクリプトは次のとおりです..
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.network"
end tell
tell application "System Events"
tell application process "System Preferences"
tell window "Network"
click button "Advanced…"
tell tab group 1 of sheet 1
click radio button "Proxies"
tell group 1
//what to do here to change Web Proxy and Secure Web Proxy Checkboxes?
end tell
end tell
end tell
end tell
end tell
「Web Proxy」および「Secure Web Proxy」設定の値を変更できません。アクセシビリティ インスペクターで表示されるタイトルがないためです。
上記で試したのと同様のApplescriptを使用してチェックボックスを有効/無効にする他の方法はありますか?