Re: Receive notifications about frontmost application change
Re: Receive notifications about frontmost application change
- Subject: Re: Receive notifications about frontmost application change
- From: Matt Neuburg <email@hidden>
- Date: Thu, 10 Jul 2008 08:16:21 -0700
- Thread-topic: Receive notifications about frontmost application change
On Wed, 09 Jul 2008 17:47:23 -0400, Bill Cheeseman <email@hidden>
said:
>In Leopard, you can make your application process trusted by the
>accessibility API (requires user authentication), using the
>AXMakeProcessTrusted function. Then you don't need to ask your users to
>enable global access for assistive devices. However, making your process
>trusted is not easy -- you have to embed a couple of helper applications in
>your application package, one of them to run as root and make your process
>trusted, and the other to relaunch your application so the newly-trusted
>process is running. If you have an easier way to accomplish your goal, go
>for it.
Copy and paste is pretty easy:
http://www.cocoabuilder.com/archive/message/cocoa/2006/2/4/156003
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden