Page 1 of 1

Acrobat variables with Switch

Posted: Thu Oct 08, 2020 11:45 am
by LasseThid
I have a Switch where I basically just add the file name of a pdf as a text in the pdf and then print the pdf on a printer.

I use a PitStop Actionlist where I add a text to the page using the vairable %Current Document Name%, but as the file is processed in Switch I get the Switch Unique Name and not the original file name, ie. the filname starts _XXXXX_. Is there a way of saying that I want %Current Document Name% but without the first seven characters?

Re: Acrobat variables with Switch

Posted: Thu Oct 08, 2020 12:12 pm
by laurentd
Yes there is a way:
Create a variable set in PitStop with a jobname variable.
In the action list, add this variable instead of %Current Document Name%.
Then in the PitStop Server configurator, select the same variable set and edit it (just after selecting it).
Because you are now editing the variable set from Switch, you now have access to all Switch variables.
Define the content of the variable to Job.Name or Job.NameProper and you will get the job name without the UniqueNamePrefix.

Re: Acrobat variables with Switch

Posted: Thu Oct 08, 2020 12:22 pm
by LasseThid
Thanks laurentd.

Much appreciated!