1 Reply Latest reply on Jul 10, 2015 5:45 AM by Vamitul

    how to find out the ink [used colour only] used in indesign document while create the postscript file

    Jackkistens Level 1

      Hi All,

       

      Aim: i need to create the separation pdf  from indesign each used color in individual pdf using javascript.

       

      var myDocument = app.activeDocument;

      inklist = myDocument.inks.everyItem().name;

          for (i=0; i<inklist.length; i++) 

                          { 

                              alert(inklist[i]);

                        

                          } 

       

      i get the all the colour ink name using above code but i need to find fetch the indesign document used ink/color name only

       

      see example, 100 pages in a document with Cyan, Magenta, Yellow and Black combination.

       

      We need the script based on INK/COLOUR wherever used in InDesign document as below.

      Cyan used in pages: 1, 20, 30, 50, 70, 90

      Magenta used in pages: 2, 20, 25, 40, 60, 80

      Yellow used in pages: 3, 20, 25, 35, 55, 75

      Black used in  all pages

       

      Thanks,

      ~jack