sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36089
[Question #279450]: Region.Find("image text") Fails to Find Text
New question #279450 on Sikuli:
https://answers.launchpad.net/sikuli/+question/279450
I am trying to find text on a Region using it Find method.
Settings.OcrTextSearch = True
h=findAll(crosspt)
while h.hasNext():
t=h.next()
tregion=Region(t.getX(),t.getY(),50,50) # new region where text of "120" sits.
tregion.highlight(2, "yellow")
icons=tregion.find("120")
the tregion.find says looking for a file 120.png. I want is look for text "120" instead of file 120.png.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.