Re: AXIsProcessTrusted / AXMakeProcessTrusted
Re: AXIsProcessTrusted / AXMakeProcessTrusted
- Subject: Re: AXIsProcessTrusted / AXMakeProcessTrusted
- From: Eric Schlegel <email@hidden>
- Date: Sat, 14 May 2005 20:56:36 -0700
On May 14, 2005, at 5:15 PM, Guy English wrote:
Hi again,
We'll I've implemented the AXMakeProcessTrusted thing through a
setuid helper tool just like the AuthSample does. My issue now is that
I run my helper fine but when I come back to my main application
AXIsProcessTrusted still isn't true. I even tried waiting for some
time to see if it was something that'd take a minute to kick in. If I
quit my app and re-run it then it *is* trusted - leading me to believe
one can't call AXMakeProcessTrusted on a running app and have it
"promoted" to trusted status.
Now I can come up with work arounds, most of them ugly, but is
this the expected behavior? And if not does anyone have a guess as to
why it's doing this?
I asked the Accessibility engineer again, and apparently you have to
re-exec or re-launch the now-trusted application for the new state to
take effect.
By the way, the Accessibility-dev mailing list would be a better
place to ask questions on this topic, in the future.
-eric
_______________________________________________
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