• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Illustrator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Illustrator
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Remote Access (From: John W Baxter <email@hidden>)

  • Prev by Date: Re: Applet Icon is still AppleScript icon
  • Next by Date: script compiled on 9.04 gives -43 (file not found) on 8.6
  • Previous by thread: Re: Remote Access
  • Next by thread: Re: Illustrator
  • Index(es):
    • Date
    • Thread