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 20:37:04 -0700
- Thread-topic: Comparing AXUIElementRefs? AXUIElementCopyElementAtPosition(systemWide)
Any thing that ends with ref, and has a GetTypeID method is always a
CFTypeRef.
jl
> Ah! I just discovered that they actually _are_ CFTypeRefs, and hence
> CFEqual works just great. Silly me. This could not really be more
> clearly documented.
>
> -Tom
>
> On Jun 1, 2006, at 3:43 PM, Tom Bunch wrote:
>
>> 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