Question #670704 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670704
Description changed to: Hi, being very newbie to Jython and SikuliX, a) I installed Sikulix via java -jar ../sikulixsetup-1.1.2.jar options 2 4.3 on Ubuntu 16.4 java -jar jython-installer-2.7.0.jar -s -d /usr/local/lib/jython -with jip according to the manual, b) the sample script is to click the 9 button on the xcalc calculator cat neun2.py import org.sikuli.script.SikulixForJython from sikuli import * click("1530373722085.png") c)I achieved execution: 1) slow (around ten seconds and do not know if profiting from jython install, because before I counted 25 or even 56 seconds) ../runsikulix -r ../neun2.sikuli/ 2) quickly (less than a second) but unfortunately not non-interactively: ../runsikulix -i >>> execfile("neun2.py") 3) slow as 1) -after a jip install according to the manual- I came to: SIKULI=/home/user1/Downloads/hellosikuli.sikuli/sikulixapi.jar; JYTHONDIR=/usr/local/lib/jython/jython.jar; java -cp "$JYTHONDIR:$SIKULI" org.python.util.jython -Dpython.cachedir="/tmp/stest/"./neun2.py Now I would like to run the script quickly like 2) but non-interactively, via Jython command line such as ( 3) )for quickly testing meanwhile doing the coding. Question: Is that possible at all? How then? I assume "runsikulix --server" could be the way to go. Am I right? Thanks a lot for answers or suggestions. Ps: I worked through to the manual chapter until:"Access Python packages from SikuliX scripts run by SikuliX (GUI or command line)". Regarding the later chapters I am unsure if I needed them for my purpose. -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp