• 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: When is a list not a list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is a list not a list?


  • Subject: Re: When is a list not a list?
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 15 Feb 2001 21:16:49 -0800

On 2/15/01 9:00 PM, Ric Phillips <email@hidden> wrote:

>tell application "Finder"
> set root to (choose folder)
> repeat with thisFolder in (the name of every folder in root)
> display dialog thisFolder
> end repeat
>end tell
>
>does not bring up a sequence of dialog boxes with the names of each sub
>folder, whereas;

But this one does:

tell application "Finder"
set root to (choose folder)
set a to name of every folder in root
repeat with thisFolder in a --((every folder in root))
display dialog thisFolder
end repeat
end tell

You have to explicitly get a list of names, not the name of lists.

--Michelle

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


  • Prev by Date: When is a list not a list?
  • Next by Date: Re: WHEN WILL THE LIST SERVER BE FIXED?
  • Previous by thread: Re: When is a list not a list?
  • Next by thread: File Syncronizing
  • Index(es):
    • Date
    • Thread