how to change or disable the Front Row shortcut using applescript

A

anni

hi,

I have written apple script which opens the keyboard & mouse tab but
i didn't get any idea how to enable or disable "Hide and Show Front
row" check box using applescript.

[Apple Script]

tell application "System Preferences"
activate
set the current pane to pane id "com.apple.preference.keyboard"
get the name of every anchor of pane id
"com.apple.preference.keyboard"
-->returns: {"Main", "Keyboard Shortcuts"}

reveal anchor "shortcutsTab" of pane id
"com.apple.preference.keyboard"
--click "Hide and show Front Row"
--keystroke "ESC" using command
end tell

[/Apple Script]
 
Top