Welcome Guest

Pages: 1
Rename Template
UKenGBPostApril 8, 2021, 11:02
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Normal topicRename Template

Is it possible to use Folder Start in an 'If…' construct?

So the folder would only be created according to the 'If' condition.

I suspect not, but in case I'm missing something, would be good to confirm either way.

Thanks.

2MR2PostApril 8, 2021, 11:29
Avatar photo
Administrator
Posts: 2084
Registered:
August 23, 2012, 19:27
Normal topicRename Template

You're correct. Folder Start tokens are always at the root level. They terminate any open if sequences.

Path components are created when necessary for Move statements. The base path component of a Move statement can contain escape sequences. You can always use a Move which sets the base path at runtime and calls a rename template.

UKenGBPostApril 8, 2021, 12:36
Advanced
Posts: 57
Registered:
April 30, 2020, 09:36
Normal topicRename Template

No bother, I'll just have 2 alternate templates that'll be picked at runtime for each file.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.013 seconds.