How to [Ctrl+R] automatically sikuli script (.py / .skl)

Asked by cybermocca

Helo, i'm newbie here. I'm just downloaded sikuli last version.
I've made sikuli script and try to automate it with a bat command :

"E:\Sikuli\sikuli-ide.jar" -r "F:\GCG\Project.sikuli"

but there was nothing to run.

Is there anyway to Run [Ctrl+Run] sikuli script automatically ?
furthermore, i want to use windows scheduler to run bat command.

Thanks.

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 :
#1

This way it does not work ;-)

use the provided runIDE.cmd instead of "E:\Sikuli\sikuli-ide.jar"

If do not want to use a command file in a .bat, you have to use

java -jar path-to-sikuli-ide.jar -r path-to-script.sikuli

for additional parameters for the Java command look into runIDE.cmd.

all these can be used in the scheduler, but if you want to test a Sikuli script at time of scheduler setup, you have to start the scheduler with "run as admin".

Many more information here and in the net - google is your friend.

Revision history for this message
cybermocca (ginar-yp) said :
#2

Thank you very much fo your solution.
Its works. :D

Revision history for this message
cybermocca (ginar-yp) said :
#3

Thanks RaiMan, that solved my question.