Results of Switch Colourants into Pitstop Server multiline text variables

Post Reply
cwswitch
Member
Posts: 101
Joined: Fri Feb 24, 2017 12:25 am

Results of Switch Colourants into Pitstop Server multiline text variables

Post 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
cwswitch
Member
Posts: 101
Joined: Fri Feb 24, 2017 12:25 am

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

Post 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.
Post Reply