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

    Status: Open => Answered

RaiMan proposed the following answer:
if this is your current script

first line
...
more lines
---
last line

then according to faq 1437:

-- 1. while <some condition>:

and the example

# --- this loops forever
while True:
   if not exists(img, 0):
....

this is your solution:

as a line before the first line, that should be the first line of the
block to be repeated insert

while True:

- then select all lines to the end below the line with while True:
- then press tab one time, which indents your script content one level to the 
right (it is now the stuff to be repeated)

... all this and more can be read in faq 1437

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