• 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: Make an alias file to a Finder item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Make an alias file to a Finder item (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Excel 2004 & text color
  • Next by Date: Re: Make an alias file to a Finder item
  • Previous by thread: Make an alias file to a Finder item
  • Next by thread: Re: Make an alias file to a Finder item
  • Index(es):
    • Date
    • Thread