sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25020
Re: [Question #246084]: Count an image available on screen.
Question #246084 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246084
Status: Open => Answered
RaiMan proposed the following answer:
count = 0
try:
matches = list(findAll(<<your image>>))
count = len(matches)
except FindFailed:
pass #nothing to do
print "found:", count
more info about the features of findAll see docs.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.