Scripting Spot/Special Colors in Illustrator 10
A question from an Adobe Systems collegue- how do you script changing a named spot or special colour to a CMYK colour in Illustrator 10?
In this piece of AppleScript, it assumes that the first document is the one we are interested in. Change to suit your own purposes.
new_definition contains a record detailing the new CMYK object’s colour definition.
change_swatch is the named swatch we are looking for.
Finally, the line starting
set color... does the changing. It gets the named colour and changes it to the new colour definition.
I hope this helps someone out