Re: Creating a list of alias from folder contents
Re: Creating a list of alias from folder contents
- Subject: Re: Creating a list of alias from folder contents
- From: Andy Bachorski <email@hidden>
- Date: Mon, 27 Jan 2003 09:14:48 -0800
on Sat, 25 Jan 2003 16:12:08, "Scott P. Richert" <email@hidden> wrote:
>
To: email@hidden
>
>
...
>
>
The question, then, is: What is the most efficient way to generate
>
psFileName as a list of alias from a folder full of files? Do I have
>
to iterate through the folder contents, adding an alias to the end of
>
the list with each iteration? Or is there some way to create the
>
entire list of alias with one quick command? If so, it's escaping me.
>
Any code would be greatly appreciated.
try
tell app "finder"
set aliasList to files of folder someFolder as alias as list
end
on error from fromValue
set aliasList fo fromValue
end
andy b
_______________________________________________
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.