Page 1 of 1
Sorting Files by Trimbox Size
Posted: Fri Nov 07, 2014 5:56 pm
by ChrisSigge
Hello,
Im new to Switch and it might be an easy task
but I was'nt able to figure out yet how it can be done.
I just want to sort incoming files by the size of their Trimbox and
send them into different Folders.
I found an Element for sorting Jobs and in the Line for Value it's possible to use variable data,
so I chose [Stats.TrimBoxHeight:Precision=297] but it's not working.
Can anyone provide me an simple flow to show me how this is done?
Or just tell me how to do it?
Thank you very much for your help.
Sorting Files by Trimbox Size
Posted: Fri Nov 07, 2014 7:52 pm
by manupapet
Hi,
You don't write the good syntax.
It's : [Stats.TrimBoxHeight:Precision=0] > 297
But 297 it's bad because the unit is point and not mm.
Change settings acrobat unit in point and read the width or height.
Preicion is the number after the comma, example :
precision="1" : 1,2
precision="2" : 1,23
precision="3" : 1,234
precision="4" : 1,2345
precision="5" : 1,23456
I hope I help you.
PS : this forum contains examples.
ChrisSigge wrote: Hello,
Im new to Switch and it might be an easy task
but I was'nt able to figure out yet how it can be done.
I just want to sort incoming files by the size of their Trimbox and
send them into different Folders.
I found an Element for sorting Jobs and in the Line for Value it's possible to use variable data,
so I chose [Stats.TrimBoxHeight:Precision=297] but it's not working.
Can anyone provide me an simple flow to show me how this is done?
Or just tell me how to do it?
Thank you very much for your help.
Sorting Files by Trimbox Size
Posted: Fri Nov 07, 2014 8:20 pm
by gabrielp
Sorting Files by Trimbox Size
Posted: Fri Nov 07, 2014 9:25 pm
by dkelly
An easy way to sort PDF by size is to use "Set Archive Hierarchy" with the following variables
[Stats.TrimBoxWidth:Precision=2]x[Stats.TrimBoxHeight:Precision=2]
then use an "Archive Hierarchy" to store PDFs into folders.
Sorting Files by Trimbox Size
Posted: Sun Nov 16, 2014 7:17 pm
by ChrisSigge
Hi, just want to thank you all for helping
me to understand how this works.
Re: Sorting Files by Trimbox Size
Posted: Wed Apr 29, 2015 2:20 pm
by mclarke
dkelly wrote:
An easy way to sort PDF by size is to use "Set Archive Hierarchy" with the following variables
[Stats.TrimBoxWidth:Precision=2]x[Stats.TrimBoxHeight:Precision=2]
then use an "Archive Hierarchy" to store PDFs into folders.
Where exactly can we find "Set Archive Hierarchy" in Switch 12? I don't see any flow elements with that name, nor is it a selection in the Archive Hierarchy flow element itself. The sorting function you describe would be much easier than most that I have come across or built myself.
Is it a script?
Re: Sorting Files by Trimbox Size
Posted: Wed Apr 29, 2015 3:37 pm
by dkelly
Re: Sorting Files by Trimbox Size
Posted: Thu Apr 30, 2015 7:05 pm
by mclarke
Thanks, that's the one I thought should be used. Wanted to be sure.