Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • 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

Viewing 1 post (of 1 total)