← Back to team overview

sikuli-driver team mailing list archive

[Question #250466]: Run a Sikuli script from command line without launching the collect runtime option dialog

 

New question #250466 on Sikuli:
https://answers.launchpad.net/sikuli/+question/250466

Hi,

I am trying to run Sikuli scripts on MacOs through the command line using the Sikuli-ide.jar file with the "-r" flag enabled. The problem is that the command prompt argument launches the SikuliX: collect runtime options dialog that I have to close manually before the test runs. Hence, the IDE is not launched but I don't want the popup to launch either, I just want the script to execute straight away. How do I do this with the jar?

The exact commandprompt command I am using is:

java -jar sikuli-ide.jar -r testscript.sikuli/

I have the sikuli-ide.jar file in the same directory as the testscript.sikuli file. There is a reason why I have copy of the jar file in the same folder as the script and the solution I need should support a case where you don't need to set any PATH variable but rather have the jar file in the same directory. It's for experimental purposes :)

Thanks in advance for help.

Best regards,

Emil Alégroth, PhD Student at Chalmers University of Technology

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