Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
enumeration of items
#16
Cannot add or change object properties.

If you get objects with GetChildObjects, you have array. For example, to click 3-th object use b[2].DoDefaultAction.

Or use match index with Find. Then don't need GetChildObjects and array. Example:
Code:
Copy      Help
int w=win("Calculator" "")
Acc a1.Find(w "PUSHBUTTON" "" "class=Button" 0x1004 0 1)
Acc a2.Find(w "PUSHBUTTON" "" "class=Button" 0x1004 0 2)
Acc a3.Find(w "PUSHBUTTON" "" "class=Button" 0x1004 0 3)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)