Pitstop Server - how to check spot colors

Post Reply
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Pitstop Server - how to check spot colors

Post by ArielRauch »

Hi,

I would like to to have the user input all the spot color names (only the number part) that should be in the job file and then have Pitstop server check it (via configurator).

Now there is the "check spot color name" action with regular expression which does exactly what I want but it logs the answer as warning or error if it finds the spot name. I need it the other way arround.

Any suggestions?



Ariel
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Pitstop Server - how to check spot colors

Post by freddyp »

Use the Action "Select page if objects are selected" and invert that selection. If there are pages that are still selected, it means the colors are not there.



Freddy
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Pitstop Server - how to check spot colors

Post by ArielRauch »

not sure that I understood: the result of check spot color is perfect if the reaction was success. Only if the spot color does not exists I want an error
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Pitstop Server - how to check spot colors

Post by freddyp »

Select spot color by name (using regex)

Select page if content is selected ("Only select page object" and "equal to - 0")

Log selection (with a message and set it to error)



If the spot color does not appear (number of selected objects is 0), the selection in the second line will be empty and the third line will do nothing. Else, you get the log and the error status.



Freddy
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Pitstop Server - how to check spot colors

Post by ArielRauch »

It works like a charm!!! Thank you Freddy.

Last thing with this issue (I think): I would like to have the user input only a number. I do not find a programmatic way to enclose the number with .*.* for the regular expression.

With switch it is easy but what about Pitstop Server alone?





Thanks



Ariel
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Pitstop Server - how to check spot colors

Post by freddyp »

In the variable set put .* before and .* after the variable. Something like:



.*[Metadata.Text:Path="/field-list/field[tag='Ink nr']/value",Dataset="Submit",Model="XML"].*



Freddy
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Pitstop Server - how to check spot colors

Post by ArielRauch »

I did this of course. I meant on the Pitserver level when defining the variable assignment.



Thank you, Freddy
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Pitstop Server - how to check spot colors

Post by freddyp »

When defining variables in a variable set in PitStop Server you can certain manipulations (uppercase conversion, regex, ...) on, but you cannot add anything to the value you retrieve from the XML job ticket.



Freddy
ArielRauch
Advanced member
Posts: 231
Joined: Thu Aug 07, 2014 10:04 am

Pitstop Server - how to check spot colors

Post by ArielRauch »

thank you
Post Reply