Re: Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent

2009-02-01 Thread Bill Cheeseman
on 2009-01-31 4:44 PM, Tobias Zimmerman at automa...@gmail.com wrote: So, I have read up on the AXMakeProcessTrusted function, and seen the example at http://caffeinatedcocoa.com/blog/?p=12 on how to use this function. The problem is, using that approach causes the AppleScripts in my

Re: Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent

2009-02-01 Thread Tobias Zimmerman
Bill- Thank you for the detailed and thoughtful response. I have done some further poking about and found instructions on granting accessibility permissions from the command line. After doing this on my working app, the AppleScripts no longer execute (error -2709), leading me to conclude that

Using NSAppleScript With AXMakeProcessTrusted -- and/or, How To Indirectly Launch A Secure Agent

2009-01-31 Thread Tobias Zimmerman
I have a somewhat complex problem I am hoping the list can help me with. Ultimately, what I am trying to do is grant my application rights to use the Accessibility API without forcing users to turn on ³Enable access for assistive devices². My application uses AppleScripts (primarily calling