sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49507
Re: [Question #676464]: if find or if exists SyntaxError
Question #676464 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676464
Status: Answered => Open
charliedaps is still having a problem:
Thanks a lot for your answer.
Yes, I do not have an error message anymore but the "else" does not
work.
I watched a little tutorial on the python language and I do not see
where my mistake is.
Thank you for your help.
click(Location(375,12))
if find("1543482223289.png"):
rightClick("1543482245544.png")
click("1543482269376.png")
type(Key.F4, KEY_CTRL)
find("1543482297701.png")
click("1543482306133.png")
type(Key.ENTER)
type("v", KeyModifier.CTRL)
else:
type(Key.F4, KEY_CTRL)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.