← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #444258]: how do i break this code and start over if image isn't there

 

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

    Status: Open => Answered

Vadivelan proposed the following answer:
while exists("1484622139127.png"):
    .....
    .....
    if exists(Pattern("1484623171819.png").targetOffset(-13,1)):
        click()
    else:
        continue

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