← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #195612]: Passing command line argument using sikuli-script.jar does not work

 

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

j posted a new comment:
Using sikuli-ide.jar instead of sikuli-script.jar would definitely solve
the problem because you can use the --args parameter there.

C:\Users\myuser> java -jar "c:\Program Files (x86)\Sikuli X\sikuli-
ide.jar" "c:\script\test.sikuli" --args hello

I don't know how well the sikuli-script.jar handles command line arguments. 
For the purpose of debugging you can print the whole argumentlist with "print sys.argv".

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