← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #249926]: Checking for multiple images in a short time?

 

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

    Status: Open => Answered

rss proposed the following answer:
Simple way is using of 'elif' construction and ordering images by frequency of occurrence. 
Or something like following Ruby variant:
index = [image1, image2, image3].find_index { |img| exists img }

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