Hello!
Could you help me how to insert the "if", "else" commands into the action list.
Thanks!
if....else
if....else
- Attachments
-
- if_else.jpg (59.8 KiB) Viewed 8425 times
Re: if....else
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.
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.
Re: if....else
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.
Re: if....else
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.
In Switch you can use PitStop Server to log the presence of an object and then route the object differently depending on that result.
- magnussandstrom
- Advanced member
- Posts: 365
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: if....else
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
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