Talking to myself, yet again. This is bizarre: http://www.brainbell.com/tutors/Visual_Basic/Retrieving_Accessibility_Information.htm
The first dialog screengrab shows chid Ids as _negative numbers_. How bizarre. Okay, if you add to my script comPluginDemoScriptAccessibleTest.powerpro from comPlugin0.72_100304.zip, local hAOchild = hAO.accChild(-1) if (select(hAOchild, 2) eq "c\x05") do local sOut = "child -1: " ++ hAOchild ++ ;;+ " Name: " ++ hAOchild.accName ++ ;;+ "; Value: " ++ hAOchild.accValue win.debug(sOut) endif So maybe all the time we thought childIds weren't working, it wuz because they were supposed to be negative?? Huh. --- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > I love replying to myself... > > comPlugin0.72_100304.zip. > > I can't get most of the MSAA interface to work either, even in C, e.g. > > HRESULT hr = pIAccessibleParent->get_accChild(varChild, &pdispChild); > fails every time. No idea why. Couple of things I can blindly try next week. > > so I've bypassed get_accChild with > > local hAOchild2 = hao.get_accessible_child(2) (zero based) > e.g. in > comPluginDemoScriptAccessibleTest.powerpro >
