← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #158850]: Loop with key break

 

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

    Status: Open => Answered

eliteSKL proposed the following answer:
http://sikuli.org/docx/faq/000-can-i-do-xxx.html


while True:
      Clicks a image
      Waits for a image
      Clicks a image
      Wait for a image


for x in range(100):
      Clicks a image
      Waits for a image
      Clicks a image
      Wait for a image


x=0
while x !=100:
      x+=1
      Clicks a image
      Waits for a image
      Clicks a image
      Wait for a image



import time
while time.ctime()[11:16] < "16:30":  #loop untill 4:30pm
      Clicks a image
      Waits for a image
      Clicks a image
      Wait for a image

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