schroef / Illustrator-Scripts

Collection of gathered / custom made Illustrator script
10 stars 3 forks source link

Get PMS color is not a function #2

Closed larie438 closed 1 year ago

larie438 commented 1 year ago

Hi, I just installed your script. So, I am not sure if this is a bug or if I'm doing something wrong, but when I try to run the script, I get the following error: Error 24: getPMSColor is not a function. Line: 647 -> getPMSColor(item, item);

illustrator 2023

thanks

schroef commented 1 year ago

Are you using the script "renderSwatchLegend"?

Is it possible for me to get a simplified file your using so I can test?

schroef commented 1 year ago

@larie438

I see i pushed a broken version without checking properly. I had already a newer version. But i need to test code at work computer. It seems im missing a script locally

larie438 commented 1 year ago

Sorry for the late reply. Do you still need my file?

larie438 commented 1 year ago

I hate being the bearer of bad news but with the latest version, I'm now getting the following error: Error 48: File or folder does not exist. Line: 1 -> #include "color.is>"

schroef commented 1 year ago

I hate being the bearer of bad news but with the latest version, I'm now getting the following error: Error 48: File or folder does not exist. Line: 1 -> #include "color.is>"

Yeah like is said, I seem to have broken something a while back. I know I was updating it, I was trying to make it work on selected path as well.

I tried a hotfix yesterday, but didn't work completely. So I'm gonna roll back a version and check where it went wrong.

Ps I don't need the file anymore, I could easily reproduce this issue

schroef commented 1 year ago

@larie438

Okay fixed it. I rolled back a bit. I guess i accidentally pushed a wip file. I tested it here with some files locally and works again.

Let me know if you find other issues

larie438 commented 1 year ago

Works great! thanks