Multible list parameters (%L %F %UL etc) not supported
Posted: 2018-05-06, 10:52 UTC
While testing the new %Y parameter I discovered this, which unrelated to the %Y parameter and is not new to TC 9.20). It might not be a bug but it is certainly an unexpected and non-transparant behaviour:
If I use more than one list parameter (%L, %l, %F, %f, %D, %d, %WL, %WF, %UL or %UF) in a button, only one list file is created in the %TEMP% dir.
And the resulting file is influenced by all parameters. For example:
%L %F results in a list file like if I used %F
%f %F results in a list file like if I used %f
%F %UL results in a file like if I used %UF
%UL %WL results in a file like if I used %WL
%WL %UF or %WL %F results in a file like if I used %WF
%WL %f results in a Unicode file with content like if I had use %f alone.
The order of the parameters seems to be of no importance.
So there seem to be some kind of scheme where lowercase precedes Upperscase parameters and %F/f precedes other parameters. %W precedes %U - Not very easy to keep track of especially if usin more than just two list parameters.
I could need to use more than one list parameter in the parameters field when cripting with %COMSPEC% in the command field - so I think it would be better if TC created separate .tmp files for each list parameter used in the parameters field.
If I use more than one list parameter (%L, %l, %F, %f, %D, %d, %WL, %WF, %UL or %UF) in a button, only one list file is created in the %TEMP% dir.
And the resulting file is influenced by all parameters. For example:
%L %F results in a list file like if I used %F
%f %F results in a list file like if I used %f
%F %UL results in a file like if I used %UF
%UL %WL results in a file like if I used %WL
%WL %UF or %WL %F results in a file like if I used %WF
%WL %f results in a Unicode file with content like if I had use %f alone.
The order of the parameters seems to be of no importance.
So there seem to be some kind of scheme where lowercase precedes Upperscase parameters and %F/f precedes other parameters. %W precedes %U - Not very easy to keep track of especially if usin more than just two list parameters.
I could need to use more than one list parameter in the parameters field when cripting with %COMSPEC% in the command field - so I think it would be better if TC created separate .tmp files for each list parameter used in the parameters field.