Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
macOS: Quickly toggle "Tap to click" for the Trackpad by using AppleScript
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
delay 1
click the menu item "Trackpad" of the menu "View" of menu bar 1
delay 1
click the radio button "Point & Click" of the first tab group of window "Trackpad"
click checkbox 3 of tab group 1 of window "Trackpad"
end tell
end tell
tell application "System Preferences"
quit
end tell
@pugson

This comment has been minimized.

Copy link
Owner Author

@pugson pugson commented May 16, 2018

Here's an Alfred workflow:
http://share.wojtek.im/KUf3Mi/4N8f79j93h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.