Re: [Sikuli-driver] [Question #280672]: comand line quoted parameters don't work

2016-01-12 Thread RaiMan
Question #280672 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280672

Linked to bug: #1533134
https://bugs.launchpad.net/bugs/1533134
"[1.1.0] comand line quoted parameters: single quotes should work too"

-- 
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


Re: [Sikuli-driver] [Question #280672]: comand line quoted parameters don't work

2016-01-11 Thread Luiz Carlos Modesto
Question #280672 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280672

Status: Answered => Solved

Luiz Carlos Modesto confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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


Re: [Sikuli-driver] [Question #280672]: comand line quoted parameters don't work

2016-01-07 Thread RaiMan
Question #280672 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/280672

Status: Open => Answered

RaiMan proposed the following answer:
use apostrophes:

runsikulix.cmd -r  -- "par 1" "par 2"

-- 
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


[Sikuli-driver] [Question #280672]: comand line quoted parameters don't work

2016-01-06 Thread Luiz Carlos Modesto
New question #280672 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280672

I wrote a simple test por pass user parameters by command line in Windows. For 
one-word parameters it works ok, but when I quote parameters to include spaces 
in values, sikulix is ignoring my quotes. In fact it treats quotes as part of 
each parameter, as it does to any other character.

The command line used is like this:
runsikulix.cmd -r  -- 'par 1' 'par 2'

My script is this:
import sys
for arg in sys.argv:
print arg
popup("see what u got.")

The result is this:
'par
1'
'par
2'

So, I conclude that sikulix treated my command line as containing 4 parameters.

I'm using Sikulix 1.1.0 Build: 2015-09-15_01:00nightly

-- 
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