Question #275451 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/275451
Status: Answered => Solved
joe fu confirmed that the question is solved:
Thanks RaiMan, it works much better with Region.listText().
I tried the following and it works to search and locate the text from
the region.
matches = r.listText() # get the match regions occupied by the pixels of a word
for m in matches:
if 'PAID' in m.getText():
m.highlight(3)
print m.getText() # get the word textually form this match region
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp