Special keywords can be used as placeholders in the output file names, to be replaced with dynamic values during the execution.
The set of available keywords depends on the module you are using.
Type [
in the text field Customize result names
and a popup with all the available keywords will appear.
All the keywords available in PDFsam Basic are also available in PDFsam Visual.
Additional keywords available in PDFsam Visual
[TEXT]
Keyword available for theSplit by text
tool and replaced with the text identified by the tool.
[IMAGE_NAME]
Keyword available for theExtract images
tool and replaced with the name of the image stored in the document resource dictionary.
Keywords transformations
Some simple text transformations are available for these keywords.
upper
Convert text to uppercase.
Examples:
If TEXT is banana
, [TEXT | upper]
generates BANANA.pdf
lower
Convert text to lowercase.
Examples:
If TEXT is BANANA
, [TEXT | lower]
generates banana.pdf
capitalize
Convert text to its capitalized version.
Examples:
If TEXT is bAnANa
, [TEXT | capitalize]
generates Banana.pdf
replace
Replace a string with another.
Examples:
If TEXT is my_banana
, [TEXT | replace('banana', 'mango')]
generates my_mango.pdf
Composed transformations
Keywords transformations can be composed and applied sequentially.
Examples:
If TEXT is MY_BanANa
, [TEXT | lower | replace('banana', 'mango')]
generates my_mango.pdf