More 9.1 Problems

From: Roy McCoy (roy@LUNA.NL)
Date: Sat May 19 2001 - 19:37:10 AEST


I wrote recently reporting problems with OS 9.1 and the new Standard
Additions 1.5.5 that came with it, and was correctly advised that I need
to have the security extensions installed. I reinstalled them, replaced
Standard Additions 1.4.2 with the new one, and thought I was in business
again. But now it seems that Script Editor 1.5.5 and AppleScript generally
are misfunctioning, and I don't know what the problem is or how to solve it.

=46inding that FileTyper 5.3.1 wasn't working more than one folder level
deep, I just wanted a simple script to change the creator type of every
file whose name ended with .htm or .html to R*ch, so I could open them
in BBEdit with command-o rather than a macro script assigned to ctrl-F12.
Big deal, I know, but at least I hadn't given it any priority earlier.
I couldn't get a new script to work, even when I'd simplified it down
to the following:

tell application "Finder"
  activate
  set selectedFolder to choose folder with prompt "Choose folder to =AC
    be processed."
  set fileList to (every file of entire contents of selectedFolder)
  repeat with currentFile in fileList
    display dialog name of currentFile
  end repeat
end tell

When I run the script and select a test folder at the root level
containing four small BBEdit text files, nothing seems to happen.
When I click back to Script Editor, there's a rolling beach ball
that goes nowhere until I stop the script or get an Apple Event
timed out message. If I run the same script in Script Editor 1.4.3,
curiously, I get the display dialog for two or three of the files,
but it never makes it to the end in any event. And typing in Script
Editor is horrendously slow, which may provide a clue to someone
as to what the situation is.

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

Roy McCoy <roy@luna.nl>

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



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