1 Reply Latest reply on Dec 27, 2012 6:09 AM by rajnikids

    Convert color mode & type

    rajnikids Level 1

      hi Forum,

       

      I'm trying to convert process XXX to Spot XXX... (currently XXX is in Process; mode)

       

      var myDoc = app.activeDocument;

      function convert2Spot(){

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

               Swatch = swatches[i];

               if (Swatch.name == "XXX") {

                    colorType.SPOT = true; // which is correct

                    Color.Type = ColorType.SPOT;  // which is correct

                                      

      }

      }

      }

       

      but nothing happens, just the script runs. that all...

       

      any help on this...