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
Sorting Files by Trimbox Size
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.
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
Someone did the math here to convert points to mm:
http://www.crossroads-world.com/en/Home ... osts&t=472
http://www.crossroads-world.com/en/Home ... osts&t=472
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
-
- TOP CONTRIBUTOR
- Posts: 628
- Joined: Mon Nov 29, 2010 8:45 pm
- Location: Alpharetta GA USA
- Contact:
Sorting Files by Trimbox Size
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.
[Stats.TrimBoxWidth:Precision=2]x[Stats.TrimBoxHeight:Precision=2]
then use an "Archive Hierarchy" to store PDFs into folders.
-
- Newbie
- Posts: 14
- Joined: Mon Oct 27, 2014 10:19 pm
Sorting Files by Trimbox Size
Hi, just want to thank you all for helping
me to understand how this works.
me to understand how this works.
Re: Sorting Files by Trimbox Size
dkelly wrote:
Is it a script?
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.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.
Is it a script?
Re: Sorting Files by Trimbox Size
Thanks, that's the one I thought should be used. Wanted to be sure.