admin wrote:So what would be the ideal situation? I think (from the hip -- not meditation possible right now) all variables in the pattern argument should be resolved apart from the date variables before the pattern is passed oto the normal batch rename function. Okay?
I did it this way. No changes for you -- it just works now as expected in all situations.
BatchRename pattern
Processing of pattern argument in scripts:
- resolve user vars
- resolve environment vars
- pass to BatchRename function
- resolve native vars (excl. date vars)
- resolve date vars per item
Processing of pattern argument in UDC/BatchRename dialog:
- pass to BatchRename function
- resolve native vars (excl. date vars)
- resolve date vars per item
Your rename script should work now as expected.