← Back to team overview

sikuli-driver team mailing list archive

[Question #687703]: python

 

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

from jpype import *
import jpype

jvmPath = getDefaultJVMPath()
startJVM(jvmPath, "-ea", r"-Djava.class.path=/Users/name/Desktop/sikulixapi-2.0.1.jar")
print(jpype.isJVMStarted())
Screen = JClass("org.sikuli.script.Screen")
s = Screen()
s.click(r'img/test.png')
shutdownJVM()

Stops executing on s=Screen(), don't know how to deal with it

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