Re: AXUIElementCopyElementAtPosition failure
Re: AXUIElementCopyElementAtPosition failure
- Subject: Re: AXUIElementCopyElementAtPosition failure
- From: John Louch <email@hidden>
- Date: Wed, 16 Nov 2005 16:48:20 -0800
> 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?
This is a known bug that is being looked at. It will only happen in Cocoa
applications (when you ask for a element of a cocoa app).
Thanks,
jl
>
> 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
--------------------------------------------------
John Louch Internet #: email@hidden
(805) 541 2965
_______________________________________________
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