Re: Applescript to create an alias to the a file please
Re: Applescript to create an alias to the a file please
- Subject: Re: Applescript to create an alias to the a file please
- From: Paul Taylor <email@hidden>
- Date: Tue, 09 Feb 2010 22:49:53 +0000
Stockly, Ed wrot
set theAlias to make new alias file to theFile
You need to specify where you want the new alias file to appear. AppleScript
doesn't assume the current directory.
This may help get you started
tell application "Finder"
set theFile to "/Users/edstockly/Documents/2-CoverHighlights"
set theFile to theFile as POSIX file
set aliasFile to make new alias file at desktop to theFile
set the name of aliasFile to "New Alias File"
end tell
ES
Thanks Ed, but i have a full path such
"/Users/edstockly/Documents/2-CoverHighlightsAlias"
for the alias name
can I simply specify a mutifolder path for the location of the alias
i.e.
set aliasFile to make new alias file at "/Users/edstockly/Documents/2
" to theFile
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden