Skip to main content
selvam214
Inspiring
April 13, 2021
Question

Choose Assign Colour Profile in scripting - Select radio button

  • April 13, 2021
  • 2 replies
  • 984 views

Hi,

Can we have the option to choose the radio button 'CMYK Profile/Assign Profile' in InDesign scripting? 

app.activeDocument.cmykProfile = "GRACoL2013_CRPC6.icc";

 

 

 

But I can't choose the radio button, my result is below:

 

Can you please guide me?

 

Thanks,

Selva 

This topic has been closed for replies.

2 replies

rob day
Community Expert
Community Expert
April 13, 2021

When the Color Settings’ CMYK Working space is the same as the document’s Assigned CMYK space, the radio button defaults to the middle Assign current working space. If your Color Settings profile is different then the Assign Profile radio button is selected, but in both cases the profile assignment is actually GRACol, and the only way to remove the profile would be to choose Discard (use current working space).

 

You could force the conflict with this:

 

 

 

app.colorSettings.properties = {workingSpaceCMYK:"U.S. Web Coated (SWOP) v2"}
app.activeDocument.cmykProfile = "Coated GRACoL 2006 (ISO 12647-2:2004)"

 

 

 

Which sets the Assignment dialog to this

 

selvam214
selvam214Author
Inspiring
April 15, 2021

Hi Rob,

Thank you so much for the guidance. Nice explanation. 

I will work out then communicate with you if I need more clarification. 

 

Regards,

Selva

Inspiring
April 15, 2021

Hi

 

CSF file is important to load in the InDesign before creating the PDF or just ICC color profile is enough to create our Desired output. By assign the color profile to our document.

 

Thanks

Ganesh.R

Jens Trost
Inspiring
April 13, 2021

Hi Selva,
not sure I understand – what radio button in the InDesign-native dialog is selected doesn't matter as long as the correct profile is assigned. And judging from you're screenshot the profile is correctly assigned.

Also important is what you set in your settings on PDF export. There would be another place where you could overwrite those settings.