← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #144624]: define region to image

 

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

RaiMan posted a new comment:
ok, you got it --- nearly ;-)

no need to make a def for that, since saying

match = find(img)

is sufficient: match IS ALREADY a region (a subclass). So to make it
more clear (if you want to use the match as region):

reg = find(image)
reg.highlight(2)

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