RaiMan / SikuliX-2014

SikuliX version 1.1.2 (until February 2018)
http://sikulix.com
806 stars 234 forks source link

--arg does not work with Ruby #186

Open GielRaijmakers opened 8 years ago

GielRaijmakers commented 8 years ago

Hi, I have SikuliX installed on a windows 8.1 machine.

I'm looking at a way to run a test without the IDE, and this works: runsikulix.cmd -r "d:\sikuli scripts\default.sikuli"

Second step, I want to run it without IDE and pass arguments to it: runsikulix.cmd -r "d:\sikuli scripts\default.sikuli" --arg test

Now I get the message: Not a valid Sikuli script project.

The only code the script contains is: popup "test"

On sikuli.orgI read "specify the arguments passed to Jython’s sys.argv". Is it that I can't use this for Ruby?

Cheers, Giel

RaiMan commented 8 years ago

I have to check

X-Stranger commented 7 years ago

Any updates on this issue?

Also using Ruby for SikuliX on Mac. When trying to java -jar sikulix.jar -r test.sikuli -- param1 param2 or java -jar sikulix.jar -r test.sikuli --arg param1 param2 the parameters are not passed to the script.

ms-ati commented 7 years ago

Any update on this question? Are command line arguments supported on SikuliX for Mac using Ruby?