Re: More problems with File extensions & Displayed names
Re: More problems with File extensions & Displayed names
- Subject: Re: More problems with File extensions & Displayed names
- From: John Coelho <email@hidden>
- Date: Tue, 5 Feb 2002 12:30:48 -0800
On Tuesday, February 5, 2002, at 07:28 AM, Mr Tea wrote:
There was also one very bad thing... The script editor crashed
repeatedly
but apparently inconsistently while I was testing alternatives to the
faulty script that started the thread "renaming files in Finder". I
would
have given this issue more prominence, but haven't yet nailed down the
precise set of conditions that was causing the crashes. Here's what I
have observed:
[1]
The crashes occurred when using a repeat loop to add text to names of
files in a folder, like this:
set theFiles to every file of myFolder
repeat with x in theFiles
set name of x to ("temp " & name of x)
end repeat
[2]
The crashes only seemed to occur when the folder stored in the variable
myFolder had been selected with 'choose folder'
[3]
The crashes only seemed to occur when QuickTime Player was also running
(not actually doing anything, just sittin' there - may be a red
herring).
[Additional info]
The contents of 'myFolder' were two text clippings; a photoshop file; a
couple of scripts, one with extension, one without; a url file; a
folder;
and an alias to one of the clippings. Tested on a G4 867 1.5GB RAM
running 10.1.2 & AS 1.8.2.
Hi Mr Tea,
I tried to simulate a test case as best as I could with the information
you provide above and tried it repeatedly with 10.1.2 & AS 1.8.1 and
never crashed. I will try the same test with 10.1.2 & AS 1.8.2b1 and
see if it crashes there. Do you by chance have a GDB backtrace on the
crash?
jc