Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More than one id
#1
I have a window with 24 ids (5000-5023), how can i create a macro that clicks any of those id's is visible, the one that becomes avail first. i know i can do them individual each




Code:
Copy      Help
if(IsWindowVisible(id(5000 "Free Items")))
opt waitcpu 0;but* id(5000 "Free Items")
if(IsWindowVisible(id(5001 "Free Items")))
opt waitcpu 0;but* id(5001 "Free Items")
if(IsWindowVisible(id(5002 "Free Items")))
opt waitcpu 0;but* id(5002 "Free Items")
if(IsWindowVisible(id(5003 "Free Items")))
opt waitcpu 0;but* id(5003 "Free Items")
amd so  on


but i want to bunch them up together to make it faster and not lose any items
#2
We don't answer party p0ker questions. See here:

Forum rules and tips


Forum Jump:


Users browsing this thread: 1 Guest(s)