Page 1 of 1

Sort PDF files by Bleed box relative to trim box

Posted: Thu Jul 17, 2014 8:09 pm
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

Sort PDF files by Bleed box relative to trim box

Posted: Thu Jul 17, 2014 10:44 pm
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.

Sort PDF files by Bleed box relative to trim box

Posted: Thu Jul 17, 2014 11:12 pm
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. :)