• 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: Simple question: List Folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple question: List Folder


  • Subject: Re: Simple question: List Folder
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 11 Feb 2001 14:20:08 -0800

On 2/11/01 1:46 PM, Gary Hobish <email@hidden> wrote:

>I need to make a list of all files in a chosen folder. The command:
>
>set webFiles to name of every item of the folder newImagesFolder as text
>
>(where webFiles is the list and newImagesFolder is the folder)
>
>yields a list of all the items in the folder, but as a single line with no
>delimiter of any kind.

set {tid, text item delimiters} to {text item delimiters, ","}
set webFiles to ((list folder newImagesFolder without invisibles) as text)
set text item delimiters to tid
webFiles

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Simple question: List Folder
  • Next by Date: Re: Calling an application
  • Previous by thread: Re: Simple question: List Folder
  • Next by thread: AppleScript to ODBC?
  • Index(es):
    • Date
    • Thread