Hello William,
Ok. All done. I had a look at how to edit an .ASE file but it's
WAY too complex for me.
Here is a ZIP file with the
Spreadsheet Template for the values and the
Apple Script to make it work.
I had to set an upper limit so it will create 200 swatches, let me know if you need more than that.
Unzip the file somewhere easy to find. Open the Script with
Script Editor and press the RUN icon.
The Script will ...
- Create a new blank AI document and then delete all the default swatches (to avoid duplicate names)
-
- It will ask you to select the Excel Spreadsheet with all the LAB values and Swatch Names you have decided upon (no duplicate names please)
-
- The script will ask you how many rows you want it to process. Just enter the number of rows you have created in the spreadsheet (my Excel scripting is not good enough to detect where you have stopped filling in rows)
-
- The script will then create the LAB swatches in the AI doc and tell you when its DONE. Just click OK to finish.
-
- Once done you save your Swatches as an ASE Library and share them between users and applications.
Please remember
- AI does not hold LAB values with a decimal place. 72.14 will become just 72 in Illustrator.
-
- There is only a little error checking inside the script at this point so you might get an error or two the first time.
How does it work?
Yes - lots of scripts for RGB and CMYK swatches out there. I couldn't find anything referring to LAB so I took a lucky guess and it worked.
tell application "Adobe Illustrator"
set SpotColor to {l:50, a:25, b:25}
make new spot in document 1 with properties {name:"Swatch Name", color type:spot color, color:SpotColor}
end tell
What do I do if it doesn't work?
Just post the problem here. Good luck.