Question #287256 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/287256
RaiMan proposed the following answer:
@Karl
thanks for pointing at that easy solution (... needs version 1.1.0+ though)
... and the docs are important of course, to understand it ;-)
- a little proof of concept:
# Java java file (TestImport.java)
public class TestImport {
public static void main(String[] args) {
System.out.println("Hello from TestImport");
}
}
compile it and put the resulting TestImport.class into the mentioned Sikulix
folder:
%APPDATA%\Sikulix\Lib\site-packages
# use it in a script:
import TestImport
TestImport().main([])
prints
Hello from TestImport
--
You received this question notification because your team Sikuli Drivers
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