Re: Problems scripting the Finder with system 9.0.4
Re: Problems scripting the Finder with system 9.0.4
- Subject: Re: Problems scripting the Finder with system 9.0.4
- From: "John McElwain" <email@hidden>
- Date: Fri, 05 Jan 2001 21:00:49 -0700
The script has been compiled using the latest version of AS (under system
9.0.4).
My script basically recursively processes a folder filled with aliases.
gets an ID from the file comments, gets the modification date from the
original, checks the mod. date against the date and time in an associated
FileMaker record, and if required, updates the FM record.
If I process a folder containing 160 file, it takes about 60 sec with System
9.0. To process the same folder under 9.0.4, takes 5-8 mins [Running the
same script, one time after another, it took 4:50, 8:10, 7:15, 7:30 and 4:40
mins:sec] This is the same script, same extensions, without recompiling.
as the # of files approaches 1000, I start to see more problems with the
script, e.g. timeout errors from the Finder.
I would greatly appreciate any input.
----------
>
From: Rob Jorgensen <email@hidden>
>
To: email@hidden
>
Subject: Re: Problems scripting the Finder with system 9.0.4
>
Date: Mon, Jan 1, 2001, 6:03 PM
>
>
On 01/01/2001, John McElwain commented on "Problems scripting the
>
Finder with system 9.0.4":
>
>
>I have a complicated AppleScript -- run from within FileMaker -- that
>
>involves extensive scripting of the Finder. The script was working fine
>
>prior to upgrading to 9.0.4 But now, when I run my script with 9.0.4, the
>
>Finder begins timing out on simple tasks (checking aliases, making folders)
>
>and the script runs significantly slower.
>
>
>
>The script works fine with 9.0. Are there any solutions to this problem???
>
>I am using a 400 MgHz iMac.
>
>
I can't say for sure that this will help, but it shouldn't hurt.
>
>
Since upgrading to 9.0.4, have you checked to make sure that you have
>
the latest version of AppleScript? According to my 9.0.4 system, you
>
should have something along the lines of:
>
>
AppleScript (Extensions folder) - 1.4.3
>
AppleScriptLib (Extensions folder) - 1.4
>
Script Editor 1.4.3
>
>
If you don't have these versions, you might want to run the Software
>
Update control panel, or visit
>
<http://www.apple.com/applescript/update.html>, to obtain them.
>
>
Later,
>
>
Rob Jorgensen
>
Ohio, USA