I tried following action script code to save PDF file with color profile attached:
var saveOps: PDFSaveOptions = new PDFSaveOptions();
saveOps.colorConversionID = ColorConversion.COLORCONVERSIONTODEST;
saveOps.colorDestinationID = ColorDestination.COLORDESTINATIONWORKINGCMYK;
saveOps.colorProfileID = ColorProfile.INCLUDEDESTPROFILE;
But got following errors: error an Illustrator error occurred: 1346458189 ('PARM').
What is the correct way to save PDF file with color profile?
I guess it works in AS too. Mybe it helps.
if you make a pdf-ExportPreset were you can define your icc-Profile and everything else for the export you can use this preset with
if you use saveOps.colorProfileID the color management must be turned ON - did you do that?
The understatement of the year!
Every time I have to script something in Illy, I feel like I have my hands tied behind my back...