sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20925
Re: [Question #235487]: Recognize text (OCR) and paste it to a document?
Question #235487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235487
Status: Open => Answered
RaiMan proposed the following answer:
text() is an object method, so you need a Region object, that you can
ask for the contained text.
easiest way to create a Region object interactively:
reg = selectRegion()
print reg.text()
run this in the IDE and you will be able to select your region and
hopefully get printed the contained text in the message area.
in a real script you would create a region on the fly with one of the
many available features.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.