Total Commander - Help: 'Dialog box: Configuration - Change button bar' wrote:%Y anywhere in the parameters: Pass empty list to program when using one of the List parameters like %L. Otherwise, the file under the cursor would be passed.
Something is missing..
HISTORY.TXT wrote:04.04.18 Added: New button bar parameter %Y anywhere in the parameter list: Allow empty lists when nothing is selected for parameters %S, %R, %L, %l, %F, %f, %D, %d, %WL, %WF, %UL and %UF (32/64)
Well, it says "one of the List parameters like %L". %S and %R are also list parameters internally, they just put that list on the command line itself instead of putting it in a file...
ghisler(Author) wrote: 2022-04-12, 21:11 UTC
Well, it says "one of the List parameters like %L". %S and %R are also list parameters internally, they just put that list on the command line itself instead of putting it in a file...
Exactly, so they are not list parameters like %L and the user will never know from looking in the Help.
I don't want to list all parameters here, next time I add one I will surely forget to list it here too. Maybe something like this:
%Y anywhere in the parameters: Pass empty list to program when using one of the List parameters like %L, or multi-file parameters like %S. Otherwise, the file under the cursor would be passed.
ghisler(Author) wrote: 2022-04-13, 07:04 UTC
... Maybe something like this:
%Y anywhere in the parameters: Pass empty list to program when using one of the List parameters like %L, or multi-file parameters like %S. Otherwise, the file under the cursor would be passed.
Yes but now you leave out the most important "when nothing is selected" again, which is what %Y is all about..
Furthermore, parameters like %L are list file parameters (add the word "file").
And finally, it is perhaps better to mention the %S like parameters before the %L like parameters because that is the order in which they are listed in the Help file.
May I suggest:
%Y anywhere in the parameters effects the multi-file parameters like %S and the list file parameters like %L in the following way: When nothing is selected, pass an empty list to the program instead of the file under the cursor.
Ah, I took the wrong string for my modification - %Y is explained in both "Change start menu" and "Change button bar", and only one of them had the additional "when nothing is selected".
It'd be clearer to say something like "When nothing is selected, make %S an empty string and %L an empty list file instead of making them take the file under the cursor."
"when nothing is selected" and parameters like %S are now included in b2.
But parameters is spelled wrong ("paramers like %S"). And one page says "when using one of" while the other says "while using one of".
Help Dialog box: Change start menu wrote:%Y anywhere in the parameters: Pass empty list to program when nothing is selected when using one of the List parameters like %L, or multi-file paramers like %S. Otherwise, the file under the cursor would be passed.
Help Dialog box: Configuration - Change button bar wrote:%Y anywhere in the parameters: Pass empty list to program when nothing is selected while using one of the List parameters like %L, or multi-file paramers like %S. Otherwise, the file under the cursor would be passed.