Sikuli 2 Run Script from Command Line

Asked by Jeff_Vallis on 2019-12-20

The first Answered Question I look at links to :
http://sikuli.org/docx/faq/command-line.html
Page does not Load

2.0.1-2019-11-22_16:54/Mac10.15.2/Java8(64)1.8.0_231-b11

New Imac so decided to move from 1.1.4 to your version 2
Have downloaded the Ide which runs but have not tested yet
but How do I run a script from the command line.

(I know that my scripts have more output than the IDE on 1.1.3 could handle so need to run from terminal)

Regards
Jeff

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-12-20
Last reply:
2019-12-20
Manfred Hampl (m-hampl) said : #1

The link is outdated, the addresses sikuli.org and sikuli.csail.mit.edu are not working any more.

Look at http://www.sikulix.com/ and http://sikulix-2014.readthedocs.io/en/latest/index.html

Running from command line:
https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html

Jeff_Vallis (vallis-pj) said : #2

Tried to Understand the above link
Could be much simpler for us simpletons and failed

I am trying to replace version 1.1.3 of command
/home/jeff/Sikuli/runsikulix -r /My_Location/My_Script.sikuli > My_Results.txt
e.g.

with the command to run version 2 with the same results where the standard output goes to My_Results.txt

can you point me in the right direction please

RaiMan (raimund-hocke) said : #3

as mentioned: everything to know is at
https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html

from 1.1.3 to 2.0.x you have to replace
/home/jeff/Sikuli/runsikulix

with
java -jar PATH-TO-SIKULIX

... or make your own commandfile or revise that from version 1.1.3 ...

Can you help with this problem?

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

To post a message you must log in.