@c.pfaffenbichler I know its an old thread, but i was trying some of the code you pasted. I believe it contains errors. its asks for ColorSwatches.getColor But since no color is added, it simply return undefined, its declared as a list, when _runtime starts. At least, thats how i think its working. Unless self.colorsByName = {}; gets filed by some other script which is then missing I only see self.colorsByName being used, when a color is added by ColorSwatches.prototype.addColor EDIT Nevermind it does work, after checking, i was requesting wrong name. Thats why it returns undefined. Im going to add a catch for that. But it doesnt seem to like LAB or PMS colors. REturn work colortype.; ColorSwatches.LAB_TYPE are defined as index numbers, INT n umber. But Pantone names return 4 digit number?. Kinda weird
... View more