sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18683
Re: [Question #230694]: [1.0] [error] Region.text: text recognition is currently switched off
Question #230694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230694
Summary changed to:
[1.0] [error] Region.text: text recognition is currently switched off
Description changed to:
*** solution
How to switch it on can be found in the "Preferences" part of
https://github.com/RaiMan/SikuliX-IDE/wiki/Release-Notes-IDE
--------------------------------------------------------------------------------------
Hi,
I have started using Sikuli recently & found the text recognition
feature very exciting.
I am facing a problem in reading text using Region.text().
Here is my program
r = [defined a region using "Create Region" button]
text = r.text()
openApp("C:\\Windows\\system32\\notepad.exe")
wait(2)
type(text)
On running this I get, ----- no text --- in the notepad and the
following message
[error] Region.text: text recognition is currently switched off
[log] App.open C:\Windows\system32\notepad.exe(5480)
[log] TYPE "--- no text ---"
[info] Exit code: 0
Do I have to enable to enable text recognition somewhere? I am using SikuliX-IDE-Beta999 and running it using the sikuli-ide.cmd provided for windows.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.