← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680864]: how to find list[] and if find remove the target

 

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

    Status: Needs information => Answered

RaiMan proposed the following answer:
imagesAll = [img1, img2, img3]

found = findBestList(imagesAll)

if found && found.getIndex() == 0:
    found = findBestList(imagesAll[1:]) # only 2 and 3
    ....

for details see docs

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