how to check whether a match is found in a region

Asked by Madhusudhan

How to check a match is found in a particular region using if else in java , if so a popup should display a message..However there is no default constructor for region, it is asking for parameters(dimensions) how to get those parameters..

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

-- 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.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

-- 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.

Can you help with this problem?

Provide an answer of your own, or ask Madhusudhan for more information if necessary.

To post a message you must log in.