sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34135
[Question #270339]: if command for images
New question #270339 on Sikuli:
https://answers.launchpad.net/sikuli/+question/270339
I am using 2 images.
image 1 , image 2
if image 1 exists, it should popup some text
same with other image
else, popup some other text.
My command is like below
:
if exists("Busy-1.PNG",2):
popup("Busy")
elif exists("available_1.PNG",2):
popup("Available")
else :
popup ("Meeting")
but every time it is popping up Busy.
Please suggest
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.