Re: More 9.1 Problems

From: Paul Berkowitz (berkowit@SILCOM.COM)
Date: Sun May 20 2001 - 02:56:42 AEST


On 5/19/01 2:37 AM, "Roy McCoy" <roy@LUNA.NL> wrote:


> set fileList to (every file of entire contents of selectedFolder)

<snip>

> If this sounds familiar to anyone and they know what to do about it,
> I hope they'll let me know. Thanks.

The 'entire contents' property has always been buggy. You can't use it on
folders with lots of subfolders. Find other ways to do what you want,
including the 'list folder' command in Standard Additions. I prefer Akua
Sweets 'the entries in selectedFolder as alias'. You then need a repeat loop
(with either of these) but it's still a zillion times faster than using the
Finder. (Make sure you use them outside a Finder tell block.) Some people
like Jon Commands' 'walk folders'.

Use Software Update control panel to update to AppleScript 1.6. You might be
best NOT to update to CarbonLib 1.3.1 while you're there. AS 1.5.5 has other
problems.

--
Paul Berkowitz

------------------------------



This archive was generated by hypermail 2b29 : Sun May 27 2001 - 12:00:29 AEST