run IDE and script when restart

Asked by Javier Gonzales Rodriguez on 2020-06-03

Hello there,

am just started to use Sikuli and i have a little issue to open the IDE + script and then run it automatically.

I put this on a bash file and it opened the IDE properly but not the script.

java -jar sikulixide-2.0.4.jar /home/mint/Documents/Loops.sikuli/Loops.py
java -jar sikulixide-2.0.4.jar /home/mint/Documents/Loops.sikuli/Loops.py --r

The PC that run this script has some restarts, so am trying to run it automatically.

am using ubuntu 18.04 and sikuli 2.0.4

Regards!

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Javier Gonzales Rodriguez
Solved:
2020-06-10
Last query:
2020-06-10
Last reply:
2020-06-08
RaiMan (raimund-hocke) said : #1

according to the docs:

java -jar sikulixide-2.0.4.jar -r /home/mint/Documents/Loops.sikuli

Thanks for your reply RaiMan,

didnt work, am sure that the path is correct because is can see my files with "ls" command.

best way is to move my script to a VPS xD

Thanks anyways. regards!

RaiMan (raimund-hocke) said : #3

I am not talking about the path, I am talking about the position of the -r on the command line (after the jar, before the script filename)