← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166613]: Region selection does not effect the program execution

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Pls. do me a favor and have a look at the docs to understand some basic
features.

many options:
--- setROI()
--- reg.exists(), reg.click(), reg.getLastMatch()
--- with reg:

all in the docs.

Your case using with:

with Region(112,777,71,137):
    if exists(some_image,180):
        click(getLastMatch())

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