How to use runScript and how to run a jar exported in the IDE

Asked by NounouRs

This documentation uses a central component: runScript, apparently available in many languages.
https://sikulix.github.io/docs/scripts/running-scripts/

But what is it?
Where can I find it?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said (last edit ):
#1

- runScript is a feature to be used in a SikuliX jython script

- currently it works only for saved jython scripts and jython snippets given as string

The howto is shown at "How to run a SikuliX script" further down in the mentioned doc chapter.

In another comment to an old question you talked about how to run a jar exported in the IDE:

java -jar <sikulix-ide.jar> -r someExported.jar

Currently there is no jar-type available, that can be run using

java -jar someExported.jar

And yes you are right: the docs should/can be improved in many ways, but (sorry) that is currently a lower prio for me.

Revision history for this message
NounouRs (sandburg) said :
#2

Thanks RaiMan, that solved my question.