Round pages sizes in action list

Post Reply
JavierLFPC
Newbie
Posts: 3
Joined: Fri Feb 07, 2025 11:07 am
Location: Valencia
Contact:

Round pages sizes in action list

Post by JavierLFPC »

I'm creating an action list and I need to use "Changes document title" action using the current page size variable.
I know how to do it, but the size in mm I get in the document title is afected because the point calculation PitStop is based on.
For instance, if my document size is 700mm x483mm the number I get using "Change document title" (Variable %Page Box DImensions%) is 700.06 x 483.97 mm.
Is there any way to round this values or get them without this decimals addded by Pit Stop way of working with points?
loicaigon
Advanced member
Posts: 631
Joined: Wed Jul 10, 2013 10:22 am

Re: Round pages sizes in action list

Post by loicaigon »

Hi,

I am afraid that is currently not possible with PitStop Pro alone.

Loic
Loïc Aigon
Enfocus PitStop Manager
JavierLFPC
Newbie
Posts: 3
Joined: Fri Feb 07, 2025 11:07 am
Location: Valencia
Contact:

Re: Round pages sizes in action list

Post by JavierLFPC »

Hi Loic,

What else is needed to do that? Switch?

Regards,
loicaigon
Advanced member
Posts: 631
Joined: Wed Jul 10, 2013 10:22 am

Re: Round pages sizes in action list

Post by loicaigon »

Yes Switch would indeed handle that case.

For example, the following would take the Trimbox width, convert in mm, and round with none decimals:
[Switch.Calculation:Expression="round([Stats.TrimBoxWidth:Type="Defined"]/72*25.4,0)"]
Loïc Aigon
Enfocus PitStop Manager
Post Reply