Re: Illustrator Script
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.