← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179786]: Pass an argument to a sikuli script

 

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

Loren Klingman posted a new comment:
If you're coming to this today using sikuliX:
http://sikulix-2014.readthedocs.org/en/latest/faq/010-command-line.html

You want to run something like:
C:\sikulix\runsikulix.cmd -r "C:\sikulix\scriptname.sikuli" --args "SP" "1415" "32142"

And use:
sys.argv[1]

The comment above leaves out the g in argv in some places.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.