Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Acc Objects error?
#1
Macro
Code:
Copy      Help
Acc object=acc("Cell 900" "LISTITEM" win("Excel" "#32770") "SysListView32" "0/300" 0x1415)
object.Select(SELFLAG_TAKEFOCUS|SELFLAG_TAKESELECTION)
what i am trying to do is have accesible object select a "Random cell" (cells are numbered 1-900 as Cell 1,2 ect) In this example 900 is the object that has "Descr 0/300"
i was wondering on how to get it select a random cell between Cell 1-900 with descr "0/300"... i used this code and it will select the first one it finds and then not select any others.... is this possible? and if so how. Thanks as always G


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)