nesono Posted April 4, 2014 Share Posted April 4, 2014 I created this workflow some time ago and use it quite frequently when switching back and forth from using trackpad and mouse input devices. I needed this workflow since I prefer natural scrolling with the track pad and old-school scrolling when using a mouse. I was not completely happy with the 'reverse scrolling' application as it added lag and was misbehaving when having a finger on the trackpad and scrolling with the mouse. The workflow makes a relatively simple AppleScript call, which should remain stable as long as the trackpad prefpane GUI remains the same. The workflow can be found in my github repository If you want to create it yourself, create the following nodes according to your needs:* Hotkey - I use Ctrl-Alt-Cmd-M * Run NSAppleScript with the content below * Post Notification if desired The Apple Script doing the actual work: on alfred_script(q) tell application "System Preferences" set current pane to pane "com.apple.preference.trackpad" end tell tell application "System Events" tell application process "System Preferences" tell tab group 1 of window "Trackpad" click radio button 2 click checkbox 1 end tell end tell end tell tell application "System Preferences" quit end tell end alfred_script Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now