Page 1 of 1

Results of Switch Colourants into Pitstop Server multiline text variables

Posted: Wed Jan 21, 2026 5:55 am
by cwswitch
Hi,

I am pulling [Stats.Colorants] from a PDF using standard Switch

You get a semi colon separated list, like this...

Code: Select all

Cyan;Magenta;Pantone123;etc
I would like to have Pitstop Server place multiline text using the above but with linebreaks instead of semi colons.

I have been trying the StringReplace app.

If I have to I will move the text out of Switch, do work to it and inject it back, but I was really hoping to do it in less steps.

I am not clear on what Pitstop Server sees as a line break. You can pull in pre-formatted text but I cannot see how to format it on the fly, eg by swapping ; for \n

Re: Results of Switch Colourants into Pitstop Server multiline text variables

Posted: Wed Jan 21, 2026 6:17 am
by cwswitch
I am away from my computer but just thought that the following may work.

1) Use a preflight to get the colour list as XML.

2) Rest should be easy.

Still interested in how I'd do it with Switch colourants though.