1 Reply Latest reply on Feb 2, 2012 12:25 PM by Gonterman1201

    Modify ink density in Ink Manager with Javascript?

    Gonterman1201 Level 1

      I have a predetermined number of spot colors used the inks that we use do not follow the same preset density that Indesign assigns them. Lighter colors being less opaque. or having lower densities. What I am interested in doing is having a script that evaluates the inks being used and assigns the correct values without user input. I am wondering if this is possible. The density of these inks effects there trapping order.

        • 1. Re: Modify ink density in Ink Manager with Javascript?
          Gonterman1201 Level 1

          Yes I finally figured it out. Sometimes its just one little piece of the puzzle then it all comes together.

           

          myDocument=app.activeDocument;

          densityChange();

          function densityChange(){

          for (i=0; i<myDocument.inks.length; i++){

                          var name = myDocument.inks[i].name;

                          var density = myDocument.inks[i].neutralDensity;

                      if(name=="706 White"){

                          density=myDocument.inks[i].neutralDensity=1.7

                          }

                      }

                  }