DEV Community

Cover image for Toggle Natural Scroll in MacOS
Prakhar Yadav
Prakhar Yadav

Posted on • Originally published at

Toggle Natural Scroll in MacOS

πŸ–± If you are one of those people who are irritated by the repetitive process of toggling the natural scroll of MacOs while switching between trackpad and mouse, this is going to help you. πŸ‘¨β€πŸ’»πŸ‘©β€πŸ’»

πŸ“œ Open Apple Script and paste the script below.

    tell application "System Preferences"
        set current pane to pane ""
    end tell
    delay 2
    tell application "System Events"
        tell process "System Preferences"
            click radio button "Scroll & Zoom" of tab group 1 of window "Trackpad"
            click checkbox 1 of tab group 1 of window "Trackpad"
            tell application "System Preferences" to quit
        end tell
    end tell
end try
Enter fullscreen mode Exit fullscreen mode

Save this script as an application and move it to Dock down there. Now each time you connect a mouse, just click the script application you moved on the dock.

πŸ”— If you face trouble or need more help, you can refer the place where I found this:

Happy working! πŸ₯‚

Top comments (0)