sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24945
[Question #245930]: can`t figure out what`s wrong in definitions
New question #245930 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245930
could anyone help me finding what`s wrong in these definitions? everytime i start the script, it says:
[error] script [ Nowy folder (3) ] stopped with error in line 8 at column 14
[error] SyntaxError ( "no viable alternative at input ')'", )
code:
def levelup():
if ok.exists("1395251329190-2.png"):
click("1395251329190-2.png")
else:
pass
def combat():
while exists(Pattern("1395591427929.png").similar(0.63)):
type(-)
click(Pattern("1395591427929.png").similar(0.63))
type(-)
click(Pattern("1395591427929.png").similar(0.63))
type(o)
continue
else:
click("1395593583567.png")
pass
def fight():
if exists(Pattern("1395592680025.png").similar(0.64)):
type(o)
wait(4)
combat()
else:
pass
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.