Using Variables in Target File Names
Using Variables in Target File Names
I'm pretty new to Flare so excuse if this is glaringly obvious. I want to use the value of a variable as part of the output file name. Specifically, I have a variable for the document revision that I want to include in the output file name, e.g. ThisUserGuide-<VersionNumnber>.pdf. Is it possible?
Re: Using Variables in Target File Names
In TOCs you can enter variables in the following format, but unfortunately this does not work for file names:
Our workaround is to add 'VVV' to the end of our file names, then run a script to swap this placeholder text with the version number after our overnight build completes.
Code: Select all
Welcome to version [%=MyVariableSet.MyVersionNumber%]
Our workaround is to add 'VVV' to the end of our file names, then run a script to swap this placeholder text with the version number after our overnight build completes.
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
Re: Using Variables in Target File Names
Thanks Paulie. The workaround sounds like a good plan.
Cheers
Haz
Cheers
Haz
Re: Using Variables in Target File Names
Wow, the fact that [%=MyVariableSet.MyVariable%] works is a godsend. My TOCs just became much happier. Thanks for sharing that tip!
-Dan, Propellerhead-in-training