Hacker News new | ask | show | jobs
by x187463 79 days ago
I got my first MacOS device, a Macbook Air, recently and was annoyed to find the toggle for 'natural scrolling' is unified between the trackpad and the mouse. I use the macbook docked 90% of the time. So, I asked ChatGPT if there was a way to script toggling the natural scrolling setting. ChatGPT immediately produced a working script and the instructions to create the Shortcut and assign it to a keyboard shortcut. Now I can press Ctrl-Shift-S and toggle natural scrolling.

Even as a programmer, I would have never spent the time necessary to learn the relevant scripting language for this task. I've got other things to do. But ChatGPT knew exactly what to do and now to implement the task, even on the newest version of MacOS.

2 comments

As an alternative to a script, I can suggest Mos[1], which i've been using for 6 years I think. This is the first app I install on a fresh MacOS because I'm also using my MacBook while it's docked.

[1]: https://github.com/Caldis/Mos

There exists free tools that fix that behaviour too (Apple hasn't seemed to care because if you buy a mouse from them, it scrolls with a touch sensor so natural scrolling feels correct. And I do happen to be one of the few people who likes the Magic Mouse)