Re: alias from Finder file object
Re: alias from Finder file object
- Subject: Re: alias from Finder file object
- From: Michelle Steiner <email@hidden>
- Date: Wed, 17 Nov 2004 17:47:30 -0700
On Nov 17, 2004, at 4:28 PM, David Durkee wrote:
This seems like it should be easy, but I can't find it. If you have a
Finder file object, like:
file "foo" of folder "bar" of disk "foobar"
is there an easy way to get the alias to that file? I thought it would
just be a property. I want to use it with the open for access
scripting addition.
tell application "Finder"
file "foo" of folder "bar" of disk "foobar" as alias
end tell
One caution: If the file has an extension, and the extension is not
hidden, you have to include the extension in the script, or the script
will not work. If the extension is hidden, you don't have to include
the extension, but the script will still work if you do.
--
Color is just a pigment of your imagination.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden