sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17218
Re: [Question #218275]: Get text from screen in sikuli using offset
Question #218275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218275
RaiMan proposed the following answer:
*** Text is always null.
I guess you mean "empty", since the sequence (the extra ; is a typo???)
screen.find( ".//SikuliSnapshots//HBOGO//Preview.png").text();
should either throw a FindFailed or return a string (which might contain
only whitespace), but never Java null.
If I am right, then the given text simply cannot be read with the
current Sikuli X (there are many problems with OCR).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.