Interested to know if you think this is viable enough. Here is an AppleScript entirely in InDesign, relying on getting CMYK swatches except for special ones (process swatches, white, or rich black), convrting to Lab, changing the document profile, converting the target colors back to CMYK, and flagging instances where the converted color has K <= 3 and not equal to 0. set vList to {} set vColorNameList to {} tell application "Adobe InDesign CS3" tell document 1 set vColorList to id of swatches where model is process and space is CMYK and name does not contain "Rich Black" and name is not "[Registration]" and color value is not {0.0, 0.0, 0.0, 100.0} and color value is not {0.0, 0.0, 100.0, 0.0} and color value is not {0.0, 100.0, 0.0, 0.0} and color value is not {100.0, 0.0, 0.0, 0.0} and color value is not {0.0, 0.0, 0.0, 0.0} repeat with vItem in vColorList set end of vColorNameList to name of swatch id vItem end repeat repeat with vItem in vColorList tell color id vItem set end of vList to {name, color value} set space to LAB end tell end repeat set CMYK profile to "GRACoL2006_Coated1v2" set i to 1 repeat with vItem in vColorList tell color id vItem if space is LAB then set model to process set space to CMYK set end of item i of vList to name set end of item i of vList to color value set end of item i of vList to return if (item 4 of color value ¾ 3) and (item 4 of color value 0) then set end of item i of vList to return & return --flag in list with visible extra spacing end if end tell set i to (i + 1) end repeat return vList end tell end tell ------------------ On 2/17/12 at 3:11 AM -0800, Rick Gordon wrote in a message entitled "Re: Script or Command to Convert Between CMYK Profiles":
Sorry, I described the conversion backwards: I meant US Web Coated (SWOP) v2 to GRACoL6, ideally with controls to limit very low percentage K values.
And to reassert, I'm seeking numeric values (to redefine swatches), not an image conversion.
------------------
On 2/17/12 at 2:59 AM -0800, Rick Gordon wrote in a message entitled "Script or Command to Convert Between CMYK Profiles":
I'm building an AppleScript where I need to take source CMYK values (profiled for GRACoL6) for color swatches in InDesign (listed as list of 4 real values between 0 and 100) and convert them to SWOP values. Are there any commands that I can run as shell commands to do this? Argyll? SIPS?
-- ___________________________________________________ RICK GORDON EMERALD VALLEY GRAPHICS AND CONSULTING ___________________________________________________ WWW: http://www.shelterpub.com