1 (edited by Stefan 2015-05-21 15:36:36)

Topic: How to "escape" %nc variable to use %n AND c for word "counter"?

Q:  If I use something like

%b(1,10)_%ncount.%e  (add  selection number plus the word "count")

I get names like
Filename_01ount.ext

instead of
Filename_01count.ext

Why?



A: This is because "%nc" is a Siren variable.
(add selection number relative to a name "collision" (same beginnings),...)

So Siren do not see "%n" only plus literal "count",  but %nc" plus the letters "ount".



But you can escape the "c" to drop the special meaning of "%nc"
by using an backslash like in "%n\c".


So you could use:

%b(1,10)_%n\count.%e


The same for
%b(1,10)_%npart.%e (add selection number relative to the file path)
%b(1,10)_%n\part.%e


and all other variables.


.