Monthly Archives: December 2016

Using AppleScript to change system preferences

This is a small script for AppleScript to change System preferences. Below is one example on a slider and another on a checkbox. This example set the tracking speed of the mouse tell application “System Preferences” activate end tell tell application “System Events” tell process “System Preferences” click menu item “Mouse” of menu “View” of menu bar 1 delay 2 set theSlider to slider “Tracking speed” of window “Mouse” tell theSlider set sliderStatus to value of theSlider as number if sliderStatus is not 0 then set value of theSlider to 9 as number delay 1 end tell end tell end tell This example disables the background download of updates. tell… Read More »