Re: Quick question on Current Active application Notification
Re: Quick question on Current Active application Notification
- Subject: Re: Quick question on Current Active application Notification
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 27 Jan 2009 12:59:16 +0100
Le 27 janv. 09 à 12:37, rajesh a écrit :
Hi all,
For my application to know whats the current active application
( for each time there's a switch between application ) do I have to
"Enable access for assistive devices" ? and then proceed with
AX..... API's ?
Any other solution or workaround apart from Accessibility usage ?
Cocoa does not provide an API to track the current app.
You can either use accessibility notifications AXApplicationActivated
and AXApplicationDeactivated or install a Carbon event handler._______________________________________________
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