← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #644269]: Sikuli loop statement

 

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

alex posted a new comment:
while exists (IMG1,10) :
      if  exists (IMG2,30) or exists (IMG3,30) or exists (IMG4,30)
           wait (1)
      else :
           click (IMG5)

so this will do :
- when see (img1) it will wait for 10 sec and see (img2 or img3 or img4) it will wait for 30sec?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.