← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #212638]: Repeat whole script after finish

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The easiest way is to wrap the whole script into a

while True:

loop.

add it as first line and indent all other lines one level: select all
lines and use tab to indent.

To abort a running script (the above construct would run for ever ) use
shift-alt-c (on Windows).

faq's that might be helpful:
faq 1437 (repeat things)
faq 1800 (about indentation)

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