Scripting InDesign CS2's color management


Tried posting this over on the Adobe InDesign scripting forum but everyone’s too busy chatting about CS3 to resolve a CS2 problem for me.

All I want to do is change the “Settings” field in the Color Settings dialog box from “North America Prepress 2” to “Emulate Adobe InDesign 2.0 CMS Off”.

tell application "Adobe InDesign CS2"
	set myCMS to make color setting with properties {CMS settings:"Emulate Adobe InDesign 2.0 CMS Off"}
end tell

throws a “can’t make class color setting”. Not sure if this setting needs to be set in conjunction with others, but I’ve been spinning my wheels on this and was wondering if anyone else had ever scripted the color management stuff.




I don’t think you can change the color settings in applescript
there read only! but i’m not 100%
you can only find out what it is not change it.

tell application "Adobe InDesign CS2"
	set p to CMS settings of properties of color settings
end tell

i think you may need to look at GUI scripting.


Like i said i wasn’t 100%!!!:frowning:

I checked again and this works…

tell application "Adobe InDesign CS2"
	set properties of color settings to {enable color management:false}
end tell



Never even looked at the enable color management property. Now, in retrospect it makes perfect sense why

set properties of color settings to {CMS settings:“Europe Prepress 2”}

works but

set properties of color settings to {CMS settings:“Emulate Adobe InDesign 2.0 CMS Off”}


Many thanks!