I need to create a continuously up counting number for a name of an email attachment
Attachement 1: filename “1”
Attachement 1: filename “2”
…
Can this be done inside an expression?
Attachement 1: filename “1”
Attachement 1: filename “2”
…
Can this be done inside an expression?
Hi @ManyQuestions, if you’re creating your images inside a Split in Batches loop processing one item at a time you could set a file name using the $runIndex
variable. This would require the code node though, as you couldn’t access the filename via an expression in the Set node I think.
For example:
This would leave you with files named myNewFileName_0.jpg, myNewFileName_1.jpg, myNewFileName_2.jpg, etc. You can then compress these after the “Merge items” step as suggested over here in your other thread:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.