← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208567]: how to check whether a match is found in a region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
-- 1. read docs ...
... at http://sikuli.org/docx/region.html
to learn something about the features of a region (how to create, how to modify or extend, how to use, ...)

--2. check java docs ...
... at  http://sikuli.org/doc/java-x/
about the usage of a specific feature on the Java level

--- How to check a match is found in a particular region using if else in java
use Region.exists(), which returns the match if found, null if not and does not throw FindFailed.

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