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

    Status: Answered => Solved

Chathura confirmed that the question is solved:
Hi, Raiman,

I got the argument passing to work.  I had to use double dash "--"
instead of single dash "-" in the command line.

in the code:

import sys

for arg in sys.argv:
    print arg

Command is:
C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- 
arg1 arg2

note double dash above.

Thank you Raiman. :)

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to