• 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
Files of folder returns 0 when count every folder returns correct number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Files of folder returns 0 when count every folder returns correct number


  • Subject: Files of folder returns 0 when count every folder returns correct number
  • From: Timothy Bates <email@hidden>
  • Date: Wed, 06 Feb 2002 18:10:32 +1100

Can anyone enlighten me as to why (inside a finder tell block)

When I have a folder with some files in it and

count every file of folder "amygdala:Pictures:needfixing:"

Correctly returns 156

Nevertheless a repeat loop dies on count 0

For instance

repeat with x in files of alias "amygdala:Pictures:needfixing:"
-->stops immediately

The event log shows that the count returns 0

repeat with x in files of folder "amygdala:Pictures:needfixing:" also dies
immediately.

Is this a 1.8.2b2 bug, an X bug, or am I missing something?


  • Follow-Ups:
    • Re: Files of folder returns 0 when count every folder returns correct number
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: UniqueID
  • Next by Date: Re: Files of folder returns 0 when count every folder returns correct number
  • Previous by thread: Re: UniqueID
  • Next by thread: Re: Files of folder returns 0 when count every folder returns correct number
  • Index(es):
    • Date
    • Thread