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?
Round pages sizes in action list
-
- Newbie
- Posts: 3
- Joined: Fri Feb 07, 2025 11:07 am
- Location: Valencia
- Contact:
Re: Round pages sizes in action list
Hi,
I am afraid that is currently not possible with PitStop Pro alone.
Loic
I am afraid that is currently not possible with PitStop Pro alone.
Loic
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
-
- Newbie
- Posts: 3
- Joined: Fri Feb 07, 2025 11:07 am
- Location: Valencia
- Contact:
Re: Round pages sizes in action list
Hi Loic,
What else is needed to do that? Switch?
Regards,
What else is needed to do that? Switch?
Regards,
Re: Round pages sizes in action list
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)"]
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
Enfocus PitStop Manager