sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10293
[Question #195347]: wait for image A or wait for image B
New question #195347 on Sikuli:
https://answers.launchpad.net/sikuli/+question/195347
I cant seem to get this to work
it seems to ignore "or RegB.inside().wait(imgB,FOREVER)" therefore when imageB appears.
Is there an error in my script?
while True:
RegA.inside().wait(imgA.png,FOREVER) or RegB.inside().wait(imgB.png,FOREVER)
click(imgA.png)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.