Question #214454 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/214454
Status: Open => Answered
RaiMan proposed the following answer:
You should continue to use the external Jython (I recommend to update to
Jython 2.5.3 if nothing else hinders you to do it).
Put sikuli-script.jar in your java class path for Jython.
Unjar sikuli-script.jar somwhere and put the folder sikuli from folder Lib
somewhere so you have it in Jython's sys.path (this is the Jython layer of the
Sikuli features above the Java API in org.sikuli.script).
In your script somewhere before using Sikuli features put
from sikuli import *
Now you can use all Sikuli features as mentioned in the docs
(doc.sikuli.org).
For testing the Sikuli features and capture images, you can use the
Sikuli IDE.
Be aware: when using Sikuli this way, you have to tell Sikuli where you have
your images or use absolute paths for the filenames.
Have a look at the ImagePath feature
(http://doc.sikuli.org/globals.html#importing-other-sikuli-scripts-reuse-code-and-images)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp