← Back to team overview

sikuli-driver team mailing list archive

[Bug 1788843] Re: [1.1.4] IDE: Jython: Interactive sessions on command line not accepting input, hence unusable --- workaround

 

Perhaps you could leave this as a workaround as well(took me a while to
figure out so maybe it will save someone else's time):

You can run the interactive window using jython standalone interpreter
jar, as well as sikulixapi jar, both linked on download page:
https://raiman.github.io/SikuliX1/downloads.html

Run this in command line:
java.exe -cp "C:\SikuliX\sikulixapi.jar;C:\SikuliX\jython-standalone-2.7.1.jar" org.python.util.jython

then in jython environment:
import org.sikuli.script.SikulixForJython
from sikuli.Sikuli import *

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1788843

Title:
  [1.1.4] IDE: Jython: Interactive sessions on command line not
  accepting input, hence unusable --- workaround

Status in Sikuli:
  In Progress

Bug description:
  ------------------ workaround
  use the new feature in the IDE to selectively run lines from from a script
  see: https://sikulix-2014.readthedocs.io/en/latest/ide.html#run-only-parts-of-a-script

  ------------------------------------------------------------------
  originally reported:
  https://github.com/RaiMan/SikuliX1/issues/19

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1788843/+subscriptions


References