Re: AXIsProcessTrusted / AXMakeProcessTrusted
Re: AXIsProcessTrusted / AXMakeProcessTrusted
- Subject: Re: AXIsProcessTrusted / AXMakeProcessTrusted
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 13 May 2005 05:07:35 -0400
on 2005-05-13 1:08 AM, Eric Schlegel at email@hidden wrote:
> Some info from an accessibility engineer:
>
>> AXMakeProcessTrusted is permanent. The basic idea would be to:
>>
>> if (! AXAPIEnabled() && ! AXIsProcessTrusted())
>> {
>> // as root do
>> AXMakeProcessTrusted (path_to_exe);
>> }
>>
In a Cocoa app, I assume it would be appropriate to use SFAuthorizationView
for this. Is there any reason not to do this?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden