Re: Creating an alias to folders
Re: Creating an alias to folders
- Subject: Re: Creating an alias to folders
- From: John Delacour <email@hidden>
- Date: Sun, 11 Aug 2002 08:32:03 +0100
At 8:23 pm -0800 10/8/02, Dean and Annie Baker wrote:
Hi, I am importing an xml file into AppleShare IP 6.3.3 and need to write a
script to log each user in and to have an alias of the folder that is
created for them put into their teachers folder...
The syntax is
tell app "Finder" to <option-l>
make alias file to folder "path:name" at folder "path:name"
As in...
tell application "Finder"
(* "" & gets you the pathname of a file reference. I find it
more convenient and clearer to work with pathnames *)
set tbb6 to "" & container of application file id "TBB6"
--> "dx:Applications:TEP430b4:"
set uFolder to "" & (path to current user folder)
--> "dx:Users:jd:"
set newAliasRef to make alias file to folder tbb6 at folder uFolder
activate -- if you want
reveal newAliasRef -- if you want
end tell
_______________________________________________
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.