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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
Your new code will loop forever in lines 13-15
You probably need a "break" inside this loop to continue processing below that 
part.

Remark:
line 11 seems redundant.
The block in lines 8-10 will loop as long as that blue/red block is visible on 
the screen and ends when it is no more there.
I do not see the need to test whether that block now is not there any more 
(unless it is supposed to immediately re-appear).
In my opinion a simple "break" with a first-level indent would have been enough.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to