Re: Simple question: List Folder
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/>