Re: Make list of all files in folder?
Re: Make list of all files in folder?
- Subject: Re: Make list of all files in folder?
- From: Rachel Cogent <email@hidden>
- Date: Sun, 23 Sep 2001 18:42:08 -0600
Entity Michelle Steiner spoke thus:
>
On 9/23/01 5:23 PM, Rachel Cogent <email@hidden> wrote:
>
>
> tell application "Finder"
>
> try
>
> set sel to selection as alias
>
> if (sel's kind) = "folder" then
>
> try
>
> set allFiles to <<entire contents of>> sel's files as alias
>
> list
>
> on error errMsg number errNum
>
> set allFiles to sel's files as alias as list
>
> end try
>
> end if
>
> on error errMsg number errNum
>
> tell me to display dialog errMsg & return & return & errNum
>
> end try
>
> end tell
>
>
set allFiles to (entire contents of sel) as alias list
>
>
--Michelle
Does not work, I get the error saying "cant make alias {location}"