Sikuli : NameError: name 'click' is not defined

120 views Asked by At

I have this java installed:

java version "1.8.0_391"
Java(TM) SE Runtime Environment (build 1.8.0_391-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.391-b13, mixed mode)

and running SikulixIDE-2.0.5 on Windows 10 64bits.

I tried a simple "Hello world" script :

from sikuli import *
click("1699824246719.png")
type("hello world")

but when I try to run it it’s giving me the error "NameError: name 'click' is not defined"

What am I missing?

1

There are 1 answers

1
Raimund Hocke On

Try to start it from a commandline window using:

java -jar <sikulixide ... jar> ... parameter

RaiMan from SikuliX