sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25025
Re: [Question #246084]: Count an image available on screen.
Question #246084 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246084
Status: Answered => Open
Garima Kumar is still having a problem:
Hello RaiMan,
Thanks a lot for your help.
It's working for me.
Regards
Garima
On Wed, Mar 26, 2014 at 11:41 PM, RaiMan <
question246084@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Your 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.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/246084/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/246084
>
> You received this question notification because you asked the question.
>
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.