← Back to team overview

sikuli-driver team mailing list archive

[Question #446242]: Sikuli cannot run if I add a def()

 

New question #446242 on Sikuli:
https://answers.launchpad.net/sikuli/+question/446242

I tried a script,

# content of script1.sikuli
popup("hello, I am script1")

in this way, message can be shown.

but if a add a def(), like this:
# content of script1.sikuli
def popup():
    popup("hello, I am script1")

sikuli cannot run, and there is not any error message.

how can solve this issue?

Thanks for your help:)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.