← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #165137]: Using multiple screenshots inside exists()

 

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

RaiMan proposed the following answer:
--- second question

lastClick = getLastMatch() # center of last clicked/found image
current = Region(lastClick.x, lastClick.y, 1, 1) # where we want to look around
nearest = current.nearby(100).find(wheat)

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