7 Replies Latest reply on Oct 22, 2008 2:57 PM by (Brett_Elliott)

    Changing CMYK values of existing colour

      I want to change the CMYK values of a colour. I have tried the following but with no success. Does anyone know what I am doing wrong? The property 'colorValue[ ]' should be R/W; I can read OK but cannot change the colour.

      app.activeDocument.colors[11].colorValue[0] = 9.0;
      app.activeDocument.colors[11].colorValue[1] = 10.0;
      app.activeDocument.colors[11].colorValue[2] = 11.0;
      app.activeDocument.colors[11].colorValue[3] = 12.0;