I have been searching for an answer to this for quite a while, but was not able to find anything that helped my issue.
I am using a preflight in PitStop Server to automatically change the fonts in a PDF to embedded and then add a line at the bottom of each page that reads as follows: "Page %Page Number% - %Current Document Name% - %Date%".
The issue is that for the "%Current Document Name%" variable PitStop Server uses the document name of the original file, not the one that is thus created through the preflight. How do I change this to the actual filename, e.g. the one I end up with after the preflight is applied?
I guess it would be possible to work in two layers, e.g. first create embedded fonts and then, after the new file is saved with its new name, trigger a second preflight that merely adds the line at the bottom of each page (which would then automatically use the new filename, as the new "original" document is already renamed). But ideally I want to solve this within a single preflight.
Thank you for any help.
2 posts • Page 1 of 1
If you are embedding the fonts via a preflight and adding the name via an action the action will always be carried out before the preflight is done. If you use an action to embed the fonts you can make sure that this is done before you run the action, that adds the name.