← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #435954]: Finding one of several images in predefined region

 

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

RaiMan posted a new comment:
@Milteven

This is not Sikuli - correct:

reg = Region(x, y, w, h) # or any other construct, to get a valid region object
if reg.exists(img1,0): #execute commands
elif reg.exists(img2,0): #execute commands
...
...
elif reg.exists(imgN,0): #execute commands

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