Files of folder returns 0 when count every folder returns correct number
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?