• 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
Re: Opening files in Illustrator CS3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening files in Illustrator CS3


  • Subject: Re: Opening files in Illustrator CS3
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 17 Apr 2008 15:49:49 -0700
  • Thread-topic: Opening files in Illustrator CS3

On 4/17/08 2:28 PM, "Charlie Rieger" wrote:

>
> I¹m trying to get a script to run as a folder action to automate
> opening/processing/ saving of Illustrator CS3 files. My initial
> script used Illustrator to open the files:
>
>
> on adding folder items to the_folder after receiving the_items
>     repeat with i from 1 to number of items in the_items
>         set this_item to item i of the_items as alias
>         tell application "Adobe Illustrator"
>             activate
>             open this_item
>
> This worked fine on files, but Illustrator complained when I feed
> it an alias to a file...


Give this a try Charlie. I wasn't able to test it, but believe it
should work.

on adding folder items to the_folder after receiving the_items
    repeat with i from 1 to number of items in the_items
        tell application "Finder"
            set this_item to original item of item i of the_items
        end tell
        tell application "Adobe Illustrator"
            activate
            open this_item

HTH,
Stan C.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Opening files in Illustrator CS3 (From: Charlie Rieger <email@hidden>)

  • Prev by Date: Mail scripting always…
  • Next by Date: Re: Opening files in Illustrator CS3
  • Previous by thread: Opening files in Illustrator CS3
  • Next by thread: Re: Opening files in Illustrator CS3
  • Index(es):
    • Date
    • Thread