I'm looking to make a script that quickly toggles the Natural scrolling settings, so I need a way to do it from the command line.
I think I found the correct defaults command, but I'm not sure how to apply it without logging out. Here is the command I'm using:
defaults write ~/Library/Preferences/.GlobalPreferences com.apple.swipescrolldirection -bool
