← Back to team overview

sikuli-driver team mailing list archive

[Question #644269]: Sikuli loop statement

 

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

why my program not loop continuously?

while exits (IMG1) :
      if  exits (IMG2) or exits (IMG3) or exits (IMG4)
           wait (3)
      else :
           click (IMG5)


what i want is..when the IMG1 exits..it will find (IMG2) or (IMG3) or (IMG4)....and do nothing....but if not find  (IMG2) or (IMG3) or (IMG4) it will  click (IMG5)...

its only do 1 loop..how to to continuously?

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