sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55613
Re: [Question #692281]: How to import SikuliX to Javascript or NodeJS script using GraalVM?
Question #692281 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692281
Status: Open => Answered
RaiMan proposed the following answer:
SikuliX IDE is an eco-system, that allows to create/edit and run scripts mainly written in Python language (Ruby is also supported to some extent and JavaScript is useable as long as you use a Java version, that has the Nashorn engine).
SikuliX IDE focuses on the support of the specific SikuliX features and lacks most of the features of a mature IDE like auto-complete, debugging, ...
Node.js is a runtime environment for programs written in JavaScript and
as such comparable to the Java based Python interpreter Jython, that we
use with SikuliX.
Since currently SikuliX is completely Java based, the usage of node.js
with SikuliX is not possible and does not really make sense.
The only thing that might make sense in very special cases: You have
some app that runs on node.js and you want to run that from inside a
SikuliX script, you might issue the node.js run in a separate
subprocess.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.