• 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: Bill Cheeseman <email@hidden>
  • Date: Sun, 11 Feb 2001 17:17:32 -0500

on 2/11/01 4:46 PM, Gary Hobish at email@hidden wrote:

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

Try leaving off "as text". You got text because you asked for it. ("As text"
modifies the whole command, so it takes the list of names and turns it into
one big piece of text. Leaving off "as text" gives you the naked list of
names, each of which is a string (text), separated by commas.)


-
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>

The AppleScript Sourcebook
<http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<http://www.stepwise.com/Articles/VermontRecipes/>


References: 
 >Simple question: List Folder (From: Gary Hobish <email@hidden>)

  • Prev by Date: Re: making new documents with Style
  • Next by Date: Re: Simple question: List Folder
  • Previous by thread: Re: Simple question: List Folder
  • Next by thread: Re: Simple question: List Folder
  • Index(es):
    • Date
    • Thread