Re: Turning on Assistive devices programatically
Re: Turning on Assistive devices programatically
- Subject: Re: Turning on Assistive devices programatically
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 19 Jul 2007 21:47:02 -0400
- Thread-topic: Turning on Assistive devices programatically
on 2007-07-19 6:50 PM, jeff ganyard at email@hidden wrote:
> That's what I thought and even seem to recall reading that it was by
> design but then I stumbled across the AppleScript Utility's "Enable
> GUI Scripting" checkbox. Which certainly appears to do exactly what
> the OP requested.
It turns on the same functionality, but as far as I know it also cannot be
turned on programmatically, but only by hand.
I once responded to a similar question by saying, hey, just use GUI
Scripting to click the checkbox. I was rightly ridiculed, since you can't
use GUI Scripting until accessibility has been turned on, and Apple hasn't
yet implemented time travel.
There is a function in the accessibility API called something like
MakeProcessTrusted(). The intent is that it lets a user authenticate once
for a particular assistive program without turning on accessibility
generally for all processes. That's a step in the right direction, but it
still can't be done programmatically. And it doesn't work in Tiger anyway,
due to a bug.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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