Reply To: Looking for a way to batch change color space across multiple documents

Home Page / Forums / General InDesign Topics (CLOSED) / Looking for a way to batch change color space across multiple documents / Reply To: Looking for a way to batch change color space across multiple documents

#14389218
Dan Iorgulescu
Participant

Hi!

I have a little problem with an Apple Script that collects and export pdfs with different pdf presets. One of my client wants that the pdf that is posted on the web to have the Brand RGB color (255,100,0) and those for print the a specific CMYK version of it (0/75/100/10). I tried to convert the swatch via

set NewColor to “255,100,0”
set NewColor to run script “{” & NewColor & “}”

tell active document set color value of swatch “Brand Color CMYK” to NewColor
–or
–set properties of swatch “Brand Color CMYK” to {model:process, space:RGB, color value:NewColor}
end tell

but I get

“Adobe InDesign 2023 got an error: Can’t set color value of swatch “Brand Color CMYK” of active document to {255, 100, 0}.”

Also I tried to find a way to replace via scripting grep but no success. :(

any hint? Thanks a lot!
Dan

This article was last modified on April 5, 2023

Comments (0)

Loading comments...