sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07543
[Question #181852]: if statements inside for loop
New question #181852 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181852
When used the if construct inside for loop getting the below error
no viable alternative at input 'if'"
for entry in myListFixed:
while exists(Pattern("1322634310829.png").similar(0.90).targetOffset(-2,1), 0):(click("DDCCY.png"),
(type(Key.DOWN), type("c", KEY_CTRL)),
click("img-1.png"),
exists("Coumry.png"),
doubleClick("Coumry-1.png"),
type("v", KEY_CTRL),
if exists("Gen-1.png"):(click("GenP.png"),
click("OpenPage-2.png"),
click("Administrato.png"),),
)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.