sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31713
Re: [Question #265248]: exists(Pattern) finds something, but findall(Pattern) doesn't
Question #265248 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265248
Status: Open => Answered
RaiMan proposed the following answer:
Hääääh????
what is the difference?
just checked with this - works:
r = selectRegion()
img = "icon.png"
pImg = Pattern(img).exact()
if r.exists(pImg, 0):
r.hover()
matches = r.findAll(pImg)
listMatches = list(r.findAll(pImg))
for m in listMatches:
print m
while matches.hasNext():
print matches.next()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.