Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
I found a solution using AppleScript[1] but it seems like it may be fragile (uses magic numbers, etc). Is there another way? -Steven [1] http://apple.stackexchange.com/questions/60877/toggle-natural-scrolling-from-command-line-with-reload ___

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Kyle Sluder
On Thu, May 9, 2013, at 11:55 AM, Steven Degutis wrote: I found a solution using AppleScript[1] but it seems like it may be fragile (uses magic numbers, etc). Is there another way? What are you actually trying to accomplish? NSEvent has -isDirectionInvertedFromDevice, which can be used to

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
What are you actually trying to accomplish? I often switch between using my rMBP directly, and plugging it into this giant monitor. When I'm just using the rMBP's trackpad, I want the scroll direction to be natural. But when I'm plugged in and using a mouse, I'd prefer it to be unnatural. So

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Kyle Sluder
On Thu, May 9, 2013, at 12:13 PM, Steven Degutis wrote: What are you actually trying to accomplish? I often switch between using my rMBP directly, and plugging it into this giant monitor. When I'm just using the rMBP's trackpad, I want the scroll direction to be natural. But when I'm

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Scott Ribe
On May 9, 2013, at 1:19 PM, Kyle Sluder wrote: But I'd also consider just adopting the natural approach. It took me about a week to adjust. FYI, I've never been able to adjust to it when using a mouse at my desk--perfectly fine with it when using the trackpad, but not the mouse... -- Scott

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Steve Mills
On May 9, 2013, at 14:30:24, Scott Ribe scott_r...@elevated-dev.com wrote: FYI, I've never been able to adjust to it when using a mouse at my desk--perfectly fine with it when using the trackpad, but not the mouse... Apple really needs the scrolling direction to be set on a per-input-device

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Uli Kusterer
On 09.05.2013, at 20:55, Steven Degutis sbdegu...@gmail.com wrote: I found a solution using AppleScript[1] but it seems like it may be fragile (uses magic numbers, etc). Is there another way? I wonder if an event tap and just changing the direction on each scroll event would work? Could

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Steven Degutis
Kinda like https://github.com/invariant/Scroll-Reverser ? Someone showed me this and I glanced at the source code, and was not fond of this technique. On Thu, May 9, 2013 at 7:26 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 09.05.2013, at 20:55, Steven Degutis sbdegu...@gmail.com

Re: Can scroll direction be changed programmatically?

2013-05-09 Thread Graham Cox
On 10/05/2013, at 5:44 AM, Steve Mills smi...@makemusic.com wrote: Apple really needs the scrolling direction to be set on a per-input-device basis. Personally, I hate the natural setting, which is only natural on a touchscreen device like an iPad. Seconded. Lets all file radars...