• 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 script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Illustrator script


  • Subject: Illustrator script
  • From: David DuBois <email@hidden>
  • Date: Thu, 6 Nov 2003 08:27:43 -0800 (PST)

I am trying to create a folder action so that if I drop an alias of an Illustrator file into a folder, Illustrator opens the original file, and resaves it to the original location with changes. I am trying first to get Illustrator to make the changes that I want, without dealing with the path to the original file, and what I have works, but now I can't figure out how to get the path from the alias and apply that path to the saved file.

Can anyone point me in the right direction?

What I have, and works for the original file is:

on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with this_item in added_items
if name of this_item ends with ".eps" then
try
tell application "Adobe Illustrator 10"
activate
open this_item
save this_item as eps with options {compatibility:Illustrator 10, preview:color TIFF}
close this_item saving no
end tell
end try
end if
end repeat
end tell
end adding folder items to

Thanks
David
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: so, who broke Panther's scripted volume control?
  • Next by Date: PDFs
  • Previous by thread: so, who broke Panther's scripted volume control?
  • Next by thread: Re: Illustrator Script
  • Index(es):
    • Date
    • Thread