← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #434360]: Find match exit from pool of images using one if condition

 

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

    Status: Answered => Open

Sankar is still having a problem:
Thanks for the information, exists(img, 0) saves a lot of time.

But still many if condition with exist() function called. 
Isn't it possible to check match of all the image in one exist() function ? 
e.g. with one 
region.exist(img1 || img2 || img3){ 
      then go to other if condition
 }

In my scenario, these condition occurs randomly for 2% of my action. So
looking for this occurence is costly.

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