Indesign Scripting Reference
home | search | Links
JavaScript >> ColorSetting

ColorSetting

Color management settings.

ColorSetting Properties

Property Type Access Description
accurateLABSpots Boolean r/w If true, use LAB alternates for spot colors when available.
cmsSettings String r/w The name of the current color settings configuration.
cmsSettingsList Array of Strings read A list of available color settings configurations.
cmsSettingsPath File r/w The path of the csf file to use.
cmykPolicy ColorSettingsPolicy enumeration r/w The policy for handling mismatched CMYK configurations.
enableColorManagement Boolean r/w If true, ask what to do when opening a file containing a mismatched color configuration.
engine String r/w The name of the color engine to use.
engineList Array of Strings read A list of the names of available color engines.
idealizedBlackToExport Boolean r/w If true, use idealized black for CMYK to RGB/Gray conversions to print/export.
idealizedBlackToScreen Boolean r/w If true, use idealized black for CMYK to RGB/Gray conversions to screen.
intent DefaultRenderingIntent enumeration r/w The rendering intent.
mismatchAskWhenOpening Boolean r/w If true, display a prompt when opening a file with a mismatched color configuration.
mismatchAskWhenPasting Boolean r/w If true, display a prompt when pasting an object with a mismatched color configuration.
missingAskWhenOpening Boolean r/w If true, display a prompt when opening an object with a missing color configuration.
parent Object read The parent of the object.
properties An array of property names and values r/w Property that allows setting of several properties at the same time.
rgbPolicy ColorSettingsPolicy enumeration r/w The policy for handling mismatched rgb configurations.
useBPC Boolean r/w If true, compensate for differences in the black point.
workingSpaceCMYK String r/w The name of the current CMYK configuration.
workingSpaceCMYKList Array of Strings read A list of valid CMYK color profiles.
workingSpaceRGB String r/w The name of the current rgb configuration.
workingSpaceRGBList Array of Strings read A list of valid RGB color profiles.

ColorSetting Methods

Method Returns Description
getElements Array of Objects Resolve the object specifier.
toSource String Generate JavaScript source that, if executed, will return the specified objects.
toSpecifier String Retrieve the object specifier.