← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #195612]: Passing command line argument

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This was discussed in
https://answers.launchpad.net/sikuli/+question/194353, but the request
bug was not posted by the user yet, so I do it now.

from comment #4:

This --args option seems only to work, when using sikuli-ide.jar instead
of sikuli-script.jar.

This works for me:
C:\uitests\sikuli>java -jar "%SIKULI_HOME%\sikuli-ide.jar" -r testArgv.sikuli --args "firstargument" 2>&1

So as a workaround, you have to use sikuli-ide.jar instead.

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