I'm trying to write an applescript to set the scrolling speed in the trackpad preferences. The script works for setting the tracking and double-click speed but for some reason it won't for the scrolling speed.
Here's what I've got :
----------
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.trackpad"
end tell
tell application "System Events"
set value of slider "Scrolling Speed" of window "Trackpad" of process "System Preferences" to 2
end tell
----------
Out of the three sliders in the trackpad preferences, "Scrolling speed" is the only one that the script won't work on.
Any help is much appreciated.
Running OS X 10.6.4 on a non-unibody MacBook.
Here's what I've got :
----------
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.trackpad"
end tell
tell application "System Events"
set value of slider "Scrolling Speed" of window "Trackpad" of process "System Preferences" to 2
end tell
----------
Out of the three sliders in the trackpad preferences, "Scrolling speed" is the only one that the script won't work on.
Any help is much appreciated.
Running OS X 10.6.4 on a non-unibody MacBook.