Question #295989 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/295989
Status: Open => Answered
RaiMan proposed the following answer:
----- this is sufficient:
<dependency>
<groupId>com.sikulix</groupId>
<artifactId>sikulixapi</artifactId>
<version>1.1.0</version>
</dependency>
it will take care for sikulixlibswin automatically.
------ <dependency>
<groupId>org.sikuli</groupId>
<artifactId>sikuli-core</artifactId>
<version>1.2.2</version>
</dependency>
does not belog to SikuliX (other project) and should not be used in the same
project together with sikulixapi.
----- Java Code:
Settings.OcrTextSearch = true;
Settings.OcrTextRead = true;
Match m = screen.wait(imagePath, 10);
System.out.println(m.text()); // no need to search again
"---no text---" simply means, that nothing could be read.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp