Re: Comparing AXUIElementRefs? AXUIElementCopyElementAtPosition(systemWide)
Re: Comparing AXUIElementRefs? AXUIElementCopyElementAtPosition(systemWide)
- Subject: Re: Comparing AXUIElementRefs? AXUIElementCopyElementAtPosition(systemWide)
- From: John Louch <email@hidden>
- Date: Thu, 01 Jun 2006 18:51:54 -0700
- Thread-topic: Comparing AXUIElementRefs? AXUIElementCopyElementAtPosition(systemWide)
Why not ask the AXPosition and AXSize attributes of the element in question?
Thanks,
jl
> I need to know if the AXUIElement at x,y is the same element it was
> last time I asked, but AXUIElementRef is an opaque structure and
> every time I make a call AXUIElementCopyElementAtPosition
> (systemWide...), all other things being the same, I get a different
> AXUIElementRef back. I'm not convinced I have any way to accomplish
> this. I could compare certain attribute values, but the element may
> have moved, so the position and size may have changed. AXValues
> change all the time.
>
> Is there a CFComparatorFunction or some kind of reliable GUID I can
> get from these guys?
>
> -Tom
>
> _______________________________________________
> 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
_______________________________________________
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