← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676169]: Continuously monitoring parent while loop

 

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

William Wilkins posted a new comment:
I guess one solution would be to make the while loops not as strong
something like:

while tloop <= minei:
    if exists(image):
        click(image)
        type("stuff" + Key.ENTER)
        wait(4)
        click(image)
    while exists(image):
        if exists(image):
            click(getLastMatch())
        else:
            ()
        wait(21)

This would make it have to loop all the way around when it encounters an
error also make the loop counter inaccurate.

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