sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15388
Re: [Question #218275]: Get text from screen in sikuli using offset
Question #218275 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/218275
Status: Open => Answered
j proposed the following answer:
Use this:
find("img.png").right(100).text()
to extract the text that is in the area on the right of your image, with width 100px.
You can also use left(), below() or above() to search in other directions.
Be aware that text recognition is in many cases not precise.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.