sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28171
Re: [Question #254306]: How to pass parameters to the script from the command line
Question #254306 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254306
Status: Open => Answered
RaiMan proposed the following answer:
java -jar "%SIKULI_HOME%\sikuli-ide.jar" -r SomeTest.sikuli -- "some
text" and this is someText too
yields 7 parameters going to sys.arv beginning at sys.argv[1]
this is written on the page - so what is wrong with that?
Command Line Options (intention: provide user parameters for running scripts)
-- <arguments>
the space delimeted and optionally quoted arguments are passed to Jython’s sys.argv and hence are available to your script
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.