Last active
November 30, 2021 18:41
-
-
Save vrymel/c9e53840da37198e964f2bb24eac83cb to your computer and use it in GitHub Desktop.
Applescript for scroll direction toggle
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" | |
activate | |
reveal pane "Mouse" | |
end tell | |
delay 0.5 | |
tell application "System Events" to tell process "System Preferences" | |
click checkbox "Scroll direction: Natural" of window "Mouse" | |
end tell | |
delay 0.5 | |
tell application "System Preferences" | |
quit | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment