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

RaiMan proposed the following answer:
after step 3:

// get the match from step 3
Match matchP2 = screen.getLastMatch()

//create a suitable region where to look for the "desired image"
regionP2 = matchP2.grow(left, right, top, bottom)

// look for the image
match desiredMatch = regionP2.exists("desiredImageOrPattern", 0)
if (null != desiredMatch) .... ; // found
else .... ; // not found

for exists and grow see the docs.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to