Acrobat variables with Switch

Post Reply
LasseThid
Advanced member
Posts: 324
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Acrobat variables with Switch

Post by LasseThid » Thu Oct 08, 2020 11:45 am

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?
Enfocus Switch 2019 Spring Edition, Enfocus PitStop Server 19, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.

laurentd
Newbie
Posts: 18
Joined: Wed Mar 13, 2019 2:06 pm

Re: Acrobat variables with Switch

Post by laurentd » Thu Oct 08, 2020 12:12 pm

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.
Solution Architect @ Enfocus

LasseThid
Advanced member
Posts: 324
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Acrobat variables with Switch

Post by LasseThid » Thu Oct 08, 2020 12:22 pm

Thanks laurentd.

Much appreciated!
Enfocus Switch 2019 Spring Edition, Enfocus PitStop Server 19, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.

Post Reply