← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #218275]: Get text from screen in sikuli using offset

 

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

j posted a new comment:
Addition: 
of course you have to assign the result to a variable, so it's 

foundText = find("img.png").right(100).text()

And you should use foundText = foundText.strip() afterwards to get rid
of any unwanted leading or trailing white spaces.

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