Question #168555 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/168555

    Status: Open => Answered

RaiMan proposed the following answer:
--- wait(800, )
should give an error???

- sequence of clicks
your thousand clicks is the same as one click looking from syntax.

So guessing again:

while exists(img , 0):
   click(getLastMatch())
   if exists(img , 0):
      continue # skip the rest and start next turn
   click()
   # all your other clicks and waits

when the last action of your click chain is processed, then it will go
back to top and look again for img until it vanishes.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to