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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to