Re: Aliases of Files/Folders in a Folder
Re: Aliases of Files/Folders in a Folder
- Subject: Re: Aliases of Files/Folders in a Folder
- From: Michelle Steiner <email@hidden>
- Date: Mon, 5 Nov 2001 07:48:43 -0700
On 11/5/01 6:19 AM, Joe Schmidt <email@hidden> wrote:
>
I need to get the aliases of all files/folders within a folder, how do I go
>
about doing that?
>
>
Is there a way to "list files"
Very easy, actually.
set the FolderToList to choose folder
tell application "Finder"
set the FileList to files of the FolderToList --lists files only
set the FolderList to folders of the FolderToList --lists folders only
set the itemlist to items of the FolderToList lists all files and folders
end tell
Only the top level will be listed, though.
--Michele
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------