Weird java exit code with findText

Asked by Jon Pokrzyk

New to Sikuli but everything seems to be working with sikulixapi.jar and java programming except the findText function.

Settings.OcrTextRead = true;
Settings.OcrTextSearch = true;

Region r = new Region(0,0,10000,10000);
r.findText("Hi");

And I get a: Process finished with exit code -1073741571 (0xC00000FD)

findText definitely the problem.

Any suggestions?

I'm on windows 8.1, java 1.7.11, running from intellij

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

findText() not yet working!

use find("some text") instead.

Revision history for this message
Jon Pokrzyk (jpokrzyk) said :
#2

Got thanks. Yea I tried going through the source. It looked like it had just got implemented. Didn't realize it was still be worked on.

when I use find("some text") I always get the error: [error] ImagePath: not found on image path

Is there a trick to getting find to look for text instead of the image.

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

Can you help with this problem?

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

To post a message you must log in.