I've hit a bit of a roadblock when it comes to creating swatches based on entries in a text file. I can get the file to be read okay, but when it comes to actually creating the swatch (or editing an existing one) it fails.
Assuming the value of c1 is "0,100,100,5", this is editing the existing one:
set swatch ("CLIENT1") to c1
And this is creating a new one:
make new color with properties {model:process, space:CMYK, color value:{c1}, name:"CLIENT1"}
Any help would be hugely appreciated.