Skip navigation
jlmdesyn
Currently Being Moderated

The color value of spot colors cannot be adjusted via javascript.

Jul 17, 2012 5:05 PM

There.

 

Hopefully that will help someone else searching...

 
Replies
  • Currently Being Moderated
    Jul 17, 2012 9:12 PM   in reply to jlmdesyn

    do you have a specific scenario you're having problems with?

     

    this works

    app.activeDocument.pathItems[0].fillColor.spot.color.cyan = 100;
    
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 18, 2012 12:03 AM   in reply to jlmdesyn

    try this for rgb

    app.activeDocument.swatches["colorA"].color.spot.color.green=255;
    

     

     

    or this if your color mode is cmyk

    app.activeDocument.swatches["colorA"].color.spot.color.magenta=0;
    
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 18, 2012 12:21 PM   in reply to jlmdesyn

    you're welcome, don't worry about it, it happens...now you can go back to where you read it was not possible and post the solution.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points