5 Replies Latest reply on Nov 16, 2016 7:16 AM by BetterColour

    CMYKColor does not have a constructor

    BetterColour Level 1

      Afternoon all,

       

      Simply want to create a CMYK Color (I don't think we can do LAB).

       

      I tried:

       

      var this         = new CMYKColor;

      var really      = new CMYKColor();

      var annoys   = new CMYKColor(1,2,3,4);

      var me          = new CMYKColor(1,2,3,4,5);

       

      All failed with the same message: "CMYKColor does not have a constructor".

       

      Could someone please confirm this works on their computer and their versions?

       

      Reference: InDesign CC 2015.4, ExtendScript 4.5.5

       

      Cheers,

       

      Antoine