HyperCard 2.2: Close Script Ed Before Running OSA Script (12/93)

1) I put the following AppleScript script into a HyperCard button:

on mouseUp
badNews()
end mouseUp

2) Click the button. HyperCard complains, 'Couldn't understand "badNews".'
Click script in the complaint dialog. The script window opens. Leave the
script window open.

3) Select the card window by clicking on it. Click the same button again as
above.

4) HyperCard complains again. Click script again. The system eventually
freezes or crashes.

In a nutshell, HyperCard has problems if you run an AppleScript script with
a script error and then hit the script button in the resulting error dialog
while the corresponding script editor window is already open. If you run
into this problem, close the script editor windows before running OSA
scripts.

Published Date: Feb 19, 2012