Can Sikuli 2.0.4 be scripted without Jython or JRuby?

Asked by Patrick Demets on 2020-05-17

I've been using SikuliX 1.1.2 for quite a while, muddling through well enough to get what I need done. But for a variety of reasons, I'm running into low memory issues and slow performance on my old PC. I've installed 2.0.4 on a new 64-bit Win10 machine, but message says Jython and JRuby not installed (which is true), but that it may be possible to script with Javascript. I've tried to copy a 1.1.2 script into 2.0.4, but syntax seems different, errors at just about every line (I'm guessing 1.1.2 scripting is not Javascript). So what would you suggest as my best option for a least-hassle transition to 2.0.4? Learn Javascript, Python, or Ruby (or some other)? Does 2.0.4 come with its own native scripting language? Thx

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-05-17
Last reply:
2020-05-18
RaiMan (raimund-hocke) said : #1

You made scripts in Python language with 1.1.2

There is no need to switch to another scripting language (JavaScript is still in an experimental state).

So you should stay with Jython and download as suggested in the web page, that was shown/mentioned together with the startup error:

https://github.com/RaiMan/SikuliX1/wiki/How-to-make-Jython-ready-in-the-IDE

Can you help with this problem?

Provide an answer of your own, or ask Patrick Demets for more information if necessary.

To post a message you must log in.