Acrobat variables with Switch

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

Acrobat variables with Switch

Post 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?
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
laurentd
Member
Posts: 137
Joined: Wed Mar 13, 2019 2:06 pm

Re: Acrobat variables with Switch

Post 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.
Laurent De Wilde, Solution Architect @ Enfocus
LasseThid
Advanced member
Posts: 353
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Acrobat variables with Switch

Post by LasseThid »

Thanks laurentd.

Much appreciated!
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Post Reply