sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35762
Re: [Question #275451]: [1.1.0] findText() doesn't work properly --- confirmed
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.