sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42698
Re: [Question #640445]: Scan for either of the 3 images during runtime
Question #640445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/640445
masuo proposed the following answer:
In case it takes time until A, B, C appears,use "while".
counter = 3600
while True:
if exists("imageA.png",0) or exists("imageB.png",0) or exists("imageC.png",0):
click("imageO.png")
sleep(1)
counter = counter - 1
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.