Sort PDF files by Bleed box relative to trim box

Post Reply
mccreadysit
Newbie
Posts: 2
Joined: Fri Jun 13, 2014 4:36 pm

Sort PDF files by Bleed box relative to trim box

Post by mccreadysit »

Hi There,



I am trying to sort PDF files based on the bleed box. I am trying to do a variable such as [Stats.BleedBoxWidth] minus [Stats.BleedBoxWidth] = .125, but I cannot figure out how to do math with the variables, is this possible?





Thanks,

Scot
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Sort PDF files by Bleed box relative to trim box

Post by dkelly »

Using Switch variables you can only look at the current job. You can't calculate the difference of bleed box width between 2 or more jobs for instance.



In general you would use Switch.Calculation like:



[Switch.Calculation:Expression="[Stats.BleedBoxWidth]*72.0",Precision="1"]





You could use Add Hierarchy to add bleed box width (and/or height) to the path and then use Archive Hierarchy to sort the files into different folders.
mccreadysit
Newbie
Posts: 2
Joined: Fri Jun 13, 2014 4:36 pm

Sort PDF files by Bleed box relative to trim box

Post by mccreadysit »

Thanks a ton dkelly, I was pulling what little hair I have left out trying to figure out how the Switch calculation worked. :)
Post Reply