Getting error Region.text: text recognition is currently switched off
I have written a small code to read a text from an excel file but getting error
Code : public static void main(String[] args) throws FindFailed, InterruptedExce
Screen screen = new Screen();
Thread.
Region r = screen.
screen.hover(r);
String read = r.text();
System.
Error : [error] Region.text: text recognition is currently switched off
read--- no text ---
The solutions which i found are asking to set Settings.
But where exactly do I set this in the code. I set in my java code in eclipse it gives the error.
Please help
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask ashish for more information if necessary.