if....else

Post Reply
Bakancsok
Newbie
Posts: 13
Joined: Tue Oct 01, 2019 10:25 am

if....else

Post by Bakancsok »

Hello!

Could you help me how to insert the "if", "else" commands into the action list.

Thanks!
Attachments
if_else.jpg
if_else.jpg (59.8 KiB) Viewed 7449 times
bens
Advanced member
Posts: 252
Joined: Thu Mar 03, 2011 10:13 am

Re: if....else

Post by bens »

There is no explicit if...else in Action Lists, but implicitly the selection does that for you.

Select images
Select by ink coverage
AND
Apply DeviceLink

This will apply the DeviceLink only on the selected objects - and the only selected objects are images with ink coverage over 300%.
The AND selects objects that were selected by _both_ of the previous two selects.

An OR would select objects that were selected by _any_ of the previous two selects.
Bakancsok
Newbie
Posts: 13
Joined: Tue Oct 01, 2019 10:25 am

Re: if....else

Post by Bakancsok »

I didn't mean that, because if you find an one image in it that is over 300%, then the whole document should be handled, not just that one image.
bens
Advanced member
Posts: 252
Joined: Thu Mar 03, 2011 10:13 am

Re: if....else

Post by bens »

That sounds like a job for Switch. PitStop itself does not have a way to process a document or not, depending on its content.

In Switch you can use PitStop Server to log the presence of an object and then route the object differently depending on that result.
User avatar
magnussandstrom
Advanced member
Posts: 345
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden
Contact:

Re: if....else

Post by magnussandstrom »

Two flows in (stand alone) Pitstop Server would also solve this:

Flow 1: Check if any image exceeds 300% > If it does send to Error-folder (Error-folder same as the Input-folder for Flow 2)
Flow 2: Convert with DeviceLink
Post Reply