← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166613]: How to restrict a search to a specific region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
# solution: qualify every search action with the respective region
reg =Region(112,777,71,137):
if reg.exists(some_image,180):
    click(reg.getLastMatch())

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