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 13:38:18 -0800
On Tuesday, February 5, 2002, at 12:30 PM, John Coelho wrote:
[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
___
I couldn't get it to crash with 10.1.2 & AS 1.8.2b1 as well. Can you
still reproduce the crash repeatedly? If so can you provide me with a
list of the file names that are in your folder and a GDB backtrace? The
easiest way to get a backtrace is to launch the Console application
/Applications/Utilities/Console and go to the "Preferences" menu item
under the "Console" menu, then in preferences window click on the
"Crashes" tab and select the "Log crash information etc" check box. If
you want to automatically display the crash log then select that check
box as well.
thanks for your help,
jc