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: Michelle Steiner <email@hidden>
- Date: Sun, 23 Sep 2001 17:33:36 -0700
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
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------