Forked from nickpunt/TrackpadFix (Forcetouch).scpt
Last active
August 13, 2016 08:33
-
-
Save jeanpaul/f0e227d08ec27b5a17363c9056e1be75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Preferences" | |
reveal pane id "com.apple.preference.trackpad" | |
end tell | |
tell application "System Events" to tell process "System Preferences" | |
-- Uncheck lookup & data detectors | |
tell tab group 1 of window "Trackpad" | |
click radio button "Point & Click" | |
click checkbox 1 | |
end tell | |
-- Uncheck Zoom | |
tell tab group 1 of window "Trackpad" | |
click radio button "Scroll & Zoom" | |
click checkbox 2 | |
end tell | |
-- Uncheck Swipe between pages | |
tell tab group 1 of window "Trackpad" | |
click radio button "More Gestures" | |
click checkbox 1 | |
end tell | |
end tell | |
delay 1 | |
tell application "System Preferences" | |
reveal pane id "com.apple.preference.trackpad" | |
end tell | |
tell application "System Events" to tell process "System Preferences" | |
-- Recheck lookup & data detectors | |
tell tab group 1 of window "Trackpad" | |
click radio button "Point & Click" | |
click checkbox 1 | |
end tell | |
-- Recheck Zoom | |
tell tab group 1 of window "Trackpad" | |
click radio button "Scroll & Zoom" | |
click checkbox 2 | |
end tell | |
-- Recheck Swipe between pages | |
tell tab group 1 of window "Trackpad" | |
click radio button "More Gestures" | |
click checkbox 1 | |
end tell | |
end tell | |
quit application "System Preferences" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment