• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Aliases of Files/Folders in a Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. |
----------------------------------------------------------------------


  • Prev by Date: Re: Applescript CGIs with Web* V
  • Next by Date: Re: Crash on quit, Virtual Memory, and AppleScript
  • Previous by thread: Aliases of Files/Folders in a Folder
  • Next by thread: Re: Aliases of Files/Folders in a Folder
  • Index(es):
    • Date
    • Thread