sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42348
Re: [Question #630631]: Loop for random images display.
Question #630631 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/630631
Status: Open => Answered
masuo proposed the following answer:
How about the following codes?
# wait for only image1
while True:
if exists("image1.png", 0):
break
sleep(1)
# wait for one of the five images
while True:
if exists("image1.png", 0):
break
if exists("image2.png", 0):
break
if exists("image3.png", 0):
break
if exists("image4.png", 0):
break
if exists("image5.png", 0):
break
sleep(1)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.