Page 1 of 1

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

Posted: Wed Mar 20, 2019 1:35 pm
by MikkoS
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.

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

Posted: Wed Mar 20, 2019 5:50 pm
by abailescollins
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.

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

Posted: Thu Mar 21, 2019 9:40 am
by Flynn7691
Maybe that's a better task for Preflight than for an action list???

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

Posted: Fri Mar 22, 2019 12:16 pm
by MikkoS
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.