2 Replies Latest reply on Jan 21, 2015 8:11 PM by Teetan VK

    How to add a PANTONE color to docs?

    Teetan VK Level 1

      Hi everyone

       

      I got this script

       

      var docs = app.documents;  

      for (var i = docs.length-1; i >= 0; i--) {  

          try{

              docs[i].colors.item(“Body Text Color”).name;

                  }

              catch (myError){

                          docs[i].colors.add({name:”Body Text Color”, model:ColorModel.process,

                              colorValue:[20, 100, 80, 10]});

                                  }

                              }

       

      for add color to docs, but

      how can change the value for PANTONE color?

       

      Thanks

      Regard

       

      Teetan