sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53958
Re: [Question #687993]: Sikuli Usage
Question #687993 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687993
Status: Needs information => Open
Peter Schaeffer gave more information on the question:
Bunch of answers.
I am using Sikuli 2.0.1
I tried three environments
Py Charm CE 2019.3.1 (works great)
Environmental Variables - PYTHONUNBUFFERED=1;CLASSPATH=C:\Users\Peter\HeadlampJetty\SikuliX\sikulix-2.0.1.jar
Python Interpreter - Jython 2.7
Working Directory - C:\Users\Peter\HeadlampJetty\SikuliX\test1.sikuli
Two import statements work and are absolutely required
import org.sikuli.script.SikulixForJython
from sikuli import *
Windows command line (works great)
java -cp "..\sikulix-2.0.1.jar;..\jython2.7.1\jython.jar" org.python.util.jython test1.py
Working Directory - C:\Users\Peter\HeadlampJetty\SikuliX\test1.sikuli
Two import statements work and are absolutely required
import org.sikuli.script.SikulixForJython
from sikuli import *
Windows command line (works great)
java -jar sikulix-2.0.1.jar -r test1
Working Directory - C:\Users\Peter\HeadlampJetty\SikuliX
Both import statements are ignored
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.