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

Re: Illustrator Script


  • Subject: Re: Illustrator Script
  • From: Daniel Blanken <email@hidden>
  • Date: Thu, 06 Nov 2003 23:06:49 +0100

David DuBois wrote:

> ...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?

Well in the Finder's AppleScript Dictionary you can see that an alias file
has a property called "original item". A construction like this...

tell application "Finder"
set orig_path to (get original item of alias file (choose file)) as text
end tell

...works fine on my end, it returns the path to the original file in string
format.

Greetings!
danB
_______________________________________________
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: How to use property from one script file in another
  • Next by Date: Re: illustrator-scripting, again ...
  • Previous by thread: Illustrator script
  • Next by thread: Re: Illustrator script
  • Index(es):
    • Date
    • Thread