Illustrator
Illustrator
- Subject: Illustrator
- From: Peter Mathiessen <email@hidden>
- Date: Mon, 18 Dec 2000 09:08:03 +0100
Hi,
Does anyone know how to remove swatches in Illustrator that is unused?
I know how to remove them if I know the name of the swatch, but in most
cases I don4t know that.
I want to make a script that opens a lot of Illustrator files and remove all
unused swatch colors.
Also, I having some trouble to acces the "do script" in Illustrator, the
script is working fine in Photshop but in Illustrator nothing happens.
I have recorded a script in Illustrator but can4t reach it by my script.
The script:
tell application "Adobe Illustrator. 9.0" to activate
set searchFolder to "Macintosh HD:files_in:"
set myList to list folder alias searchFolder without invisibles
repeat with myFilename in every item in myList
set myFile to alias (searchFolder & myFilename)
tell application "Adobe Illustrator. 9.0"
try
open myFile
do script "Save01"
end try
end tell
end repeat
Best regards