← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #266772]: while not exists() or not exists(): does not seem to work

 

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

RaiMan proposed the following answer:
Uuups, just realised the catastrophic cut&paste typo in comment #4.

So if you only want to wait until one of the images is visible:

while not exists(image1, 0) and not exists(image2, 0):
    wait(1)

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