Re: Make an alias file to a Finder item
Re: Make an alias file to a Finder item
- Subject: Re: Make an alias file to a Finder item
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 10 Apr 2005 16:50:17 -0700
On 4/3/05 11:56 PM, "Malcolm Fitzgerald" <email@hidden> wrote:
> How do we make use Applescript to make an alias file, the sort of file
> that results when we "make alias" in the Finder.
Use the 'to' parameter:
make: Make a new element
make
new - type class -- the class of the new element
at location - reference -- the location at which to insert the
element
[to - reference] -- when creating an alias file, the original item
to create an alias to or when creating a file viewer window, the target of
the window
Ex:
tell application "Finder"
make alias file to alias ((home as Unicode text) & "Movies:") at desktop
end tell
--
Paul Berkowitz
_______________________________________________
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