← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #276732]: How to skip part of a loop indefinitely?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
example:

searchA = True
while True:
    App.focus("a")
    if searchA and exists(image.a):
        type ("a")
        if exists(image.x):
           searchA = False

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