Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
acctest and matchindex
#1
I understand that acctest doesnot use switch "matchindex" as acc does.

Is there any way to overcome this difficulty when the object is anonymous but you know its matchindex when testng for example :

if(a.a and acctest(a "" "CLIENT" 0 "Classname" "" 0)) ret iid
#2
Isn't. Because accessible objects don't have an unique property, like handle or id. The same object gives different IAccessible pointer each time you find it.

If it is a child window, try to get its handle and use child() function.

int h=child(a)
ARRAY(int) x
child(... x)
if(h=x[matchindex-1]) ...
#3
Gintaras,

Many thanks, best regards.


Forum Jump:


Users browsing this thread: 1 Guest(s)