Package | Description |
---|---|
org.sikuli.script |
Modifier and Type | Method and Description |
---|---|
Match |
Region.compare(Image img)
time optimized Region.exists, when image-size == region-size
1.1.x: just using exists(img, 0), sizes not checked |
Match |
Region.compare(String img)
time optimized Region.exists, when image-size == region-size
1.1.x: just using exists(img, 0), sizes not checked |
static Match |
Commands.exists(Object... args)
wait for the given visual to appear within the given wait time
|
<PSI> Match |
Region.exists(PSI target)
Check if target exists (with the default autoWaitTimeout)
|
<PSI> Match |
Region.exists(PSI target,
double timeout)
Check if target exists with a specified timeout
timout = 0: returns immediately after first search |
Match |
Image.find(Image img)
find an image in another image
|
<PSI> Match |
Region.find(PSI target)
finds the given Pattern, String or Image in the region and returns the best match.
|
<PSI> Match[] |
Region.findAllByColumn(PSI target) |
<PSI> Match[] |
Region.findAllByRow(PSI target) |
Match |
Region.findBest(Object... args) |
Match |
Region.findText(String text)
Use findText() instead of find() in cases where the given string could be misinterpreted as an image filename
|
Match |
Region.findText(String text,
double timeout)
Use findText() instead of find() in cases where the given string could be misinterpreted as an image filename
|
Match |
ImageFind.get() |
Match |
ImageFind.get(int n) |
Match |
Region.getLastMatch()
a find operation saves its match on success in the used region object
unchanged if not successful |
Match |
ObserveEvent.getMatch() |
Match |
Finder.next() |
Match |
ImageFinder.next() |
Match |
ImageFind.next() |
static Match |
Commands.wait(Object... args)
wait for the given visual to appear within the given wait time
args [String|Pattern|Double, [Double, [Float]]] (max 3 args) arg1: String/Pattern to search or double time to wait (rest ignored) arg2: time to wait in seconds arg3: minimum similarity to use for search (overwrites Pattern setting) |
<PSI> Match |
Region.wait(PSI target)
Waits for the Pattern, String or Image to appear until the AutoWaitTimeout value is exceeded.
|
<PSI> Match |
Region.wait(PSI target,
double timeout)
Waits for the Pattern, String or Image to appear or timeout (in second) is passed
|
Modifier and Type | Method and Description |
---|---|
Iterator<Match> |
Image.findAll(Image img)
find all images in another image
|
<PSI> Iterator<Match> |
Region.findAll(PSI target)
finds all occurences of the given Pattern, String or Image in the region and returns an Iterator of Matches.
|
Iterator<Match> |
Region.findAllText(String text)
Use findAllText() instead of findAll() in cases where the given string could be misinterpreted as an image filename
|
List<Match> |
ObserveEvent.getChanges() |
Iterator<Match> |
Region.getLastMatches()
a searchAll operation saves its matches on success in the used region object
unchanged if not successful |
List<Match> |
ImageFind.getMatches() |
List<Match> |
Region.listText()
VERY EXPERIMENTAL: returns a list of matches, that represent single words, that have been found in this region
the match's x,y,w,h the region of the word Match.getText() returns the word (utf8) at this match Match.getScore() returns a value between 0 ... |
List<Match> |
TextRecognizer.listText(ScreenImage simg,
Region parent) |
List<Match> |
TextRecognizer.listText(ScreenImage simg,
Region parent,
TextRecognizer.ListTextMode mode) |
Modifier and Type | Method and Description |
---|---|
int |
Match.compareTo(Match m) |
Constructor and Description |
---|
Match(Match m)
create a copy of Match object
to e.g. |
Copyright © 2017. All rights reserved.