← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232900]: [1.0] [HowTo] turn on text recognition --- solution

 

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

syed posted a new comment:
I am new in Sikuli and doing R&D on OCR feature specifically. Please help me with the following.
I have switched OCR functionality on by using the your above suggested code in eclipse/java
	  Settings.OcrTextRead=true;
	  Settings.OcrTextSearch=true;
and try to extract the text from a textfield(which is not editable) but it saying --- no text ---

I can not even use the following solution for extracting text.
scr.click("text_field.png",0)
scr.type("a", KEY_CTRL)
scr.type("c", KEY_CTRL)
System.out.println(Env.getClipboard())

Will b much obliged by your quick response
Environment:Windows7, IDE: Sikuli 1.0.1,  
Jar Files: sikuli-api-1.0.2-standalone.jar ; sikuli-ide.jar

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.