Hello Is it possible to get a destination control's Accessibility API's AXTitle (or another distinguishing characteristic - i need to know, if the clicked control was Microsoft Word's "Document Pane" (it is AXView object, in terms of accessibility)) from the callback function, that is called whenever user clicks with mouse in a "foreign" application's windows? I have installed CGEventTap on mouse-click events in that "foreign" application, but all i can extract within the callback function - is only a mouse button and cursor's coordinates. I was wondering, if i could extract from CGEventRef (that is passed as a parameter to my callback function) the control's. I can retrieve what window the user clicked on (by the means of Accessibility API i can see what window has become active after the click) but i can't know what the control was clicked. Does that opaque CGEventRef contain any info about destination control? Or it is impossible? Thanks a lot for any response! _______________________________________________
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]
