- -, "Enable access for assistive devices" System Preferences / Universal Access / Mouse & Trackpad. , , script , , , .
-, , , , AppleScript, , . , script :
set value of slider "Tracking Speed" of window "Mouse" to trackingValue
, , , AppleScript, , . Snow Leopard " 1" " " . , , , . ? , , . , .
, script :
set trackingValue to 5
tell application "System Preferences" to activate
tell application "System Events"
tell process "System Preferences"
try
click menu item "Mouse" of menu "View" of menu bar 1
delay 2
set value of slider "Tracking Speed" of window "Mouse" to trackingValue
on error theError
display dialog ("Sorry, an error occured while altering Keyboard and Mouse settings:" & return & theError) buttons "OK" default button "OK"
end try
end tell
end tell