sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24301
Re: [Question #165137]: Using multiple screenshots inside exists()
Question #165137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/165137
Sami Keränen posted a new comment:
Hi,
First post ever. But related to the first one. I have used following syntax when there is multiple images to use and there is no need for infinite waiting:
if exists(image1, 0) or exists(image2, 0):
click(getLastMatch())
else:
# Do something if images not found
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.