I can't use more 3 pictures

Asked by mrderanakt on 2018-07-07

n=0
while n<1:
    if not exists("1.png"or"2.png"or"3.png"or"4.png"or"5.png"or"6.png"or"7.png"or"8.png"or"9.png"or"10.png"):
        click("0.png")
    else:
        click("1.png"or"2.png"or"3.png"or"4.png"or"5.png"or"6.png"or"7.png"or"8.png"or"9.png"or"10.png")

I can't use more 3 pictures in my program.My program should find any needed picture and click on it.But although needed picture is on screen,the program think that itsn't.How can i use so many pictures without bug?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2018-07-07
Last query:
2018-07-07
Last reply:
2018-07-07
mrderanakt (mrderanakt) said : #2

Thanks RaiMan, that solved my question.