2
ライオンズのスクロールバー(システム環境設定>一般)の表示を変更するようなアプリスクリプトを作成しようとしています。AppleScriptでのスクロールバーの視認性の変更(Lion内)
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.general"
end tell
tell application "System Events"
if UI elements enabled then
try
tell process "System Preferences"
click radio button "Always"
end tell
end try
end if
end tell
しかし:通常、私には、「自動的に入力デバイスに基づいて」が、自宅で、私はワコムのタブレットを使用するので、私はに切り替える必要が常に
これは私がこれまで持っているものです時に設定維持したいです私はいつも、私は様々なバリエーションを試してみました
「...クリックラジオ」のエラー行で
--> error number -1728 from «class radB» "Always" of «class prcs» "System Preferences"
で終わる
click radio button 3 of Window 1
click radio button 3 of radio group 1 of window 1 -- error number -1719
私は明らかに何か間違っていますが、何が分かりませんか。
おかげで!私はアクセシビリティインスペクタについて知らなかった。 – nxtwrld