AXUIElementCopyElementAtPosition failure
AXUIElementCopyElementAtPosition failure
- Subject: AXUIElementCopyElementAtPosition failure
- From: Gregory Cooksey <email@hidden>
- Date: Wed, 16 Nov 2005 18:16:39 -0600
I am trying to write a tool to send mouse clicks to random positions
in an application for testing purposes. How I've been doing this so
far has been to generate a random position and then call
AXUIElementCopyElementAtPosition() with the system-wide element and
checking whether the resulting AXUIElement belongs to my target
application.
I've found a problem though: when the point I check is in the title
bar of an application, AXUIElementCopyElementAtPosition() fails with
the kAXErrorFailure condition. Has anybody out there got any ideas
why it might be doing this, or other suggestions as to how I should
determine which application is at a specified position?
Thanks,
-Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden