• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can scroll direction be changed programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can scroll direction be changed programmatically?


  • Subject: Re: Can scroll direction be changed programmatically?
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 09 May 2013 11:59:34 -0700

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
override the user's setting when it makes sense. Does that satisfy your
needs?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can scroll direction be changed programmatically?
      • From: Steven Degutis <email@hidden>
References: 
 >Can scroll direction be changed programmatically? (From: Steven Degutis <email@hidden>)

  • Prev by Date: Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
  • Next by Date: Re: Can scroll direction be changed programmatically?
  • Previous by thread: Can scroll direction be changed programmatically?
  • Next by thread: Re: Can scroll direction be changed programmatically?
  • Index(es):
    • Date
    • Thread