1 Reply Latest reply on May 31, 2017 9:50 PM by tpk1982

    Ignore Illustrator color in Indesign

    tpk1982 Level 4



      I am converting the spot color to process. It works fine when I convert from swatches directly. But when I import an illustrator file, if it contains spot colors then it also viewed and converted in Indesign. Is it possible to get rid of those spot colors?


      Screen Shot 2017-05-31 at 3.27.04 PM.png


      My idea is, if any applied color have their own objects. But this reference is not available with the placed Illustrator file. I tried the below code, but not working.


      var doc = app.activeDocument;
      var pageitems = doc.allPageItems;
      for(var i=0;i<pageitems.length;i++)
          if(pageitems[i].parent ){
              if(pageitems[i].fillColor.model == ColorModel.SPOT)
                      pageitems[i].fillColor.model = ColorModel.PROCESS


      Looking forward your valuable suggestions. (I tried instanceOf, hasOwnProperty but no use)