Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] PTP/ETFw envvarname

Hi,

ok, thank you optid works fine. I have another problem that I already told you. 
PTP send as argument fields without values, for example:

- TextField("Write first set of values A:") == Sent to a script like ==>" --
Avalues A1,A2..."
- TextField("Write first set of values B:") == Sent to a script like ==>" --
Bvalues B1,B2..."

When the A field is empty, PTP passes to the script "--Avalues --Bvalues 
B1,B2..." then the getopts library used in the script thinks that "--
Bvalues.." belong to the parameters of Avalues. Is it possible to don't pass 
as a parameter the empty fields?, just don't pass them.

Thanks & Regards.
Xavi.
On Wednesday 11 November 2009 01:36:23 am Wyatt Spear wrote:
> I will be committing this soon.  Note that when you have multiple
>  togoptions with the same name you must explicitly set
>  optid="some-unique-string"  By default the optid is the same as the
>  optname.


Back to the top