1 Reply Latest reply on Jun 24, 2013 7:02 AM by Harbs.

    Find Tint value more than and leass than

    davidDav Level 1

      Hi all,

       

       

      I am finding the tint value of black is more than and less than 65%

       

      it is showing only 65% black text not showing below 65%, what is my wrong can anyone help

       

       

      //Find tint value more than or less than 65%

      var doc = app.activeDocument;

      app.findTextPreferences.fillColor = "Black";

      app.findTextPreferences.fillTint != 65;

      var myFound = app.findText(true);

      for(var i = 0; i < myFound.length; i++) {

      myF = myFound[i]

      if(myF!= true) {

      app.select(myF);

      alert ("Doc has more than 65% black")

      }}