• 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: A Cocoa means to detect SysPref 'Enable access for assistive devices"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Cocoa means to detect SysPref 'Enable access for assistive devices"


  • Subject: Re: A Cocoa means to detect SysPref 'Enable access for assistive devices"
  • From: Bill Cheeseman <email@hidden>
  • Date: Wed, 23 Apr 2008 17:14:59 -0400
  • Thread-topic: A Cocoa means to detect SysPref 'Enable access for assistive devices"

on 2008-04-23 4:37 PM, Peter Maurer at email@hidden wrote:

>> Is there a straight Cocoa means to detect the System Preferences/
>> Universal Access setting for 'Enable access for assistive devices'?
>
> I don't think this counts as Cocoa, but it's better than AppleScript:
> AXAPIEnabled()

You can also make your app "trusted" using the AX API, in Leopard, so that
the Universal Access preference need not be set at all. But it requires
authentication so you have to jump through a lot of hoops to implement it.

You can also set the Universal Access preference using AppleScript, in Tiger
and Leopard, without jumping through any hoops at all (because System
Preferences takes care of the authentication dialog for you). Thus, you
could use NSAppleScript or OSAKit to run a script that will set the
Universal Access setting, if you find that it is not already set.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


_______________________________________________

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

References: 
 >Re: A Cocoa means to detect SysPref 'Enable access for assistive devices" (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: A Cocoa means to detect SysPref 'Enable access for assistive devices"
  • Next by Date: Re: Uneditable NSTableView (SOLVED)
  • Previous by thread: Re: A Cocoa means to detect SysPref 'Enable access for assistive devices"
  • Next by thread: IB3 can't find my class
  • Index(es):
    • Date
    • Thread