sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #04028
[Question #165356]: else if
New question #165356 on Sikuli:
https://answers.launchpad.net/sikuli/+question/165356
Hi,
I tried now for some time to build a python else if structure like this:
---------------------------------------------------------------------------------------------
if exists(img01):
...
elif exists(img02):
...
elif exists(img03):
---------------------------------------------------------------------------------------------
This is common python syntax but it does not work. If I structure it like this:
---------------------------------------------------------------------------------------------
if exists(img01):
...
if exists(img02):
...
if exists(img03):
---------------------------------------------------------------------------------------------
Not all cases are triggered when the images appear. I only want one "if" and "else ifs" if possible. Only "else" is not specific enough because I want a restraint from the existing picture. Anyone know how to build this?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.