← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #264483]: 1.0.1 how to run sikuli script from command line

 

Question #264483 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264483

    Status: Answered => Open

eduardobedoya is still having a problem:
Thanks RainMan
I tried both,
C:\Sikuli\runsikulix.cmd -r C:\Sikuli\scripts\lastone.sikuli
java -jar C:\Sikuli\sikulix.jar -r C:\Sikuli\scripts\lastone.sikuli
the former took 6 seconds
the latter took 7 seconds


when you said
"I recommend to switch to version 1.1.0, since it allows, to run scripts from inside other scripts with the advantage:
- from command line: no startup delay for the second and following script"
you meaned running the second script from within other scripts, right??

But I would like to run different scripts not withing other scripts, just as fast as possible avoiding the startup delay.
I guess in my case the fastest way to run a sikuli script is to have the sikuli.jar open and run the script from there everytime needed without closing sikuli.jar interface, so the next time the same script is needed to run, I could avoid the startup delay, right?

when you said
"if you want to include script running into your own batch files"
you mean from the sikuli.jar GUI, right? I mean add a script to run from within another script???

Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.