sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30421
Re: [Question #261508]: run .skl file using batch file
Question #261508 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261508
Status: Open => Answered
RaiMan proposed the following answer:
--- i am not able to understand this faq 2436
here the relevant part
How to switch it on at runtime:
-----------------------------------------------
TextSearch (find("some text")) and OCR (Region.text()) are currently switched off in the default with respect to the many issues.
The related Settings options to be used (set to true) with Sikuli API
(or outside the IDE):
Settings.OcrTextRead = true; // to switch on the Region.text() function
Settings.OcrTextSearch = true; // to switch on finding text with
find("some text")
Running scripts from inside the IDE alternatively the respective options
in the Preferences -> …more options can be selected.
----------------
for the usage in a script (inside or outside IDE):
Settings.OcrTextRead = true # to switch on the Region.text() function
Settings.OcrTextSearch = true # to switch on finding text with find("some text")
how to run scripts from command line:
http://sikulix-2014.readthedocs.org/en/latest/faq/010-command-line.html#how-to-run-sikulix-from-command-line
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.