Copy link to clipboard
Copied
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
Re: create a color in a color group
Reference for creating new colors...
Copy link to clipboard
Copied
Re: create a color in a color group
Reference for creating new colors...
Copy link to clipboard
Copied
So this CMYKColor has been deprecated?
Copy link to clipboard
Copied
Hi,
Where did you copy this CMYKColor from? It looks like custom function or object.prototype
Jarek
Copy link to clipboard
Copied
It mostly look like an Illustrator DOM Object to me
Copy link to clipboard
Copied
Thank you for your help!