Consistency of arrays of AXUIElementRefs
Consistency of arrays of AXUIElementRefs
- Subject: Consistency of arrays of AXUIElementRefs
- From: David Hoerl <email@hidden>
- Date: Sat, 5 Jan 2008 15:25:21 -0500
Using UI Browser to poke around in a few apps, looking at their
hierarchies, one often sees an element with a "children" array of
AXUIElementRefs. In some cases you see several (UI Browser shows
these as "group (group n)", where n starts at one and increases by
one for each similar type).
Well, these items, at this level, appear to have no other unique
identifier (unless you count their position or size, etc - what I
mean is they have no unique name).
So, the question becomes: given some app at version x.y.z on a given
OS (Leopard), will their ordinal position in the array stay constant
over time?
If not, then I'm guessing I will have to traverse all possible paths
to my final destination, somewhat like a network routing algorithm
that tries all possible paths to reach the destination.
Or, maybe I am missing something obvious.
David
_______________________________________________
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