• 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: Automatic enabling of assistive device support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic enabling of assistive device support


  • Subject: Re: Automatic enabling of assistive device support
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 17 Oct 2012 09:51:12 -0400

I don't know if there is a code-level API for this but you can use AppleScript to prompt for enabling it:

tell application "System Events"
	if not UI elements enabled then
		set UI elements enabled to true
	end if
end tell

Also, although this does have the side-effect of enabling access for assistive devices, I'm not sure if it is the same semantically and e.g. is guaranteed to always do this in the future.

Daniel

On Oct 17, 2012, at 7:51 AM, Dave Poirier <email@hidden> wrote:

> Hello everyone,
>
> Is there a way for an assistive application to enable at runtime the support for assistive device?  Obviously prompting the user for his admin password and authorization is quite fine; but I would rather avoid having the user to go manually in system preferences to enable it.
>
> Please advise, thank you!
>
> Dave Poirier
> Senior Software Developer
> email: email@hidden
> cell: 18192097798
> skype: ekscrypto
>
> All I need is a towel, everything else can be answered by 42.
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Automatic enabling of assistive device support (From: Dave Poirier <email@hidden>)

  • Prev by Date: Automatic enabling of assistive device support
  • Next by Date: Re: Automatic enabling of assistive device support
  • Previous by thread: Automatic enabling of assistive device support
  • Next by thread: Re: Automatic enabling of assistive device support
  • Index(es):
    • Date
    • Thread