← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #673949]: "If" and "Find" Pictures

 

Question #673949 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673949

Martin Ehlert posted a new comment:
ok.. i tried this...

#capturing pics

pic1 = exists(.png)
pic2 = exists(.png)
pic3 = exists(.png)
pic4 = exists(.png)

Pic1 = exists(.png)
Pic2 = exists(.png)
Pic3 = exists(.png)
Pic4 = exists(.png)

pictures = [pic1,pic2,pic3,pic4]
Pictures = [Pic1,Pic2,Pic3,Pic4]

if pictures:
    click (pictures)
    for x in findAll (pictures):
           click(Pictures)

first i defined pictures too search.. then i said to him that he has to look for "pictures" -> click them and then he should click all "Pictures" but he dont do it.. what did i made wrong ?
when i start it.. there are no mistakes from the programm.. but he doesnt find any pics... ?!
would be nice ti get lightet^^

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.