[scribus] Patch submitted for Command Line Arguments to be passed to python script

JLuc jluc at no-log.org
Sun Sep 13 14:28:02 UTC 2015


Le 13/09/2015 16:03, Gregory Pittman a écrit :
> I have a script which requires a variable S (which in this case is a Zip
> code). It previously got this from a valueDialog. I commented out the
> valueDialog line.
> I tried to run it with
> scribus -g -py postnet.py --python-arg -S 40207
> and when it runs it tells me there is no value for S.
> Maybe I don't understand what a 'python-arg' is.

did you test -S or S ?
plz share your script for better answers.

if you pass -S, -S should be tested, not S
as demonstrated in the example script
and explained in the wiki article.

JL




More information about the scribus mailing list