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

    Status: Open => Answered

RaiMan proposed the following answer:
sikulixapi-2.0.4.jar can only be used as a library/dependency in Java
/Java-based projects.

It can run Jython scripts from command line using the option -r as
documented for the idea jar.

as mentioned by Masco above:
try with findText() instead of exists, then nothing else has to be done before.

... meaning all this is not needed:
        Settings.OcrDataPath = 
"C:\\Users\\vizqa\\AppData\\Roaming\\Sikulix\\SikulixTesseract\\tessdata";
        Settings.OcrTextRead = true;
        Settings.OcrTextSearch = true;
        Settings.SwitchToText = true;
        TextRecognizer.start();

If you use the sikulixide....jar, then you can just test simple cases,
before transcribing them to Java code.

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to