Check if pages with trim box of size X*X exists

Post Reply
MikkoS
Newbie
Posts: 2
Joined: Thu Aug 04, 2016 3:17 pm

Check if pages with trim box of size X*X exists

Post by MikkoS » Wed Mar 20, 2019 1:35 pm

Can any body crack this for me. I'm obviously not familiar enough with action lists.

What I want to do is to have action list to give an error in case there isn't pages in document that has trim box larger than user defined value.

Example I have an document that has two pages in the beginning with trim box "430x297" and arter that all the other pages are "210x297".
So the action should be able to see that there are pages that are bigger that "210x297" and give it a pass.
And in case the document only has pages with trim box "210x297" the action would give an error.
Sound a bit up side down probably but I need for Fiery JobFlow workflow that uses Pitstop actions.

I started with:
Select all
Check page size

But when there is those larger pages there are also pages that are under the determined value and they trigger the error anyway.

I then tried to proceed with:
Select by page size
Check page size

But I just can't figure it out.

abailescollins
Advanced member
Posts: 235
Joined: Wed Apr 22, 2015 4:28 pm

Re: Check if pages with trim box of size X*X exists

Post by abailescollins » Wed Mar 20, 2019 5:50 pm

I read the message a couple of times, but I'm still not entirely sure what you want to do.

What I think you need to use is the "Select Page Size Action'
You can set this up with 'Smaller than' and 'Larger than'

So if you have two Actions, one with Smaller, and one with Larger.
Join them with an 'AND'

and then if you get a hit, or you don't get a hit
You can use 'Log Selection' to fire if you do or don't get a hit.

You can also write a custom message with Log Selection.
I would it working with a Static Value first and then convert to Variables.

The Action List Visualizer will also help here to debug.
PitStop Product Manager @ Enfocus.
andrewb@enfocus.com

Flynn7691
Newbie
Posts: 4
Joined: Fri Mar 15, 2019 8:37 am

Re: Check if pages with trim box of size X*X exists

Post by Flynn7691 » Thu Mar 21, 2019 9:40 am

Maybe that's a better task for Preflight than for an action list???

MikkoS
Newbie
Posts: 2
Joined: Thu Aug 04, 2016 3:17 pm

Re: Check if pages with trim box of size X*X exists

Post by MikkoS » Fri Mar 22, 2019 12:16 pm

That "select size" and "Log selection" did it thank you for that.

So:
Select by page size (larger than A4)
Lob absence of selection

So if there isn't any larger pages than A4 in document I get an error.

Post Reply