With applications I've written in xcode 1.5 and panther I used the
on activate theObject
show window "main"
This results in almost the same as every Mac OS 10.3.x application.
When you closed window "main" then you de-activate and activate your
programm you will see the main window of the application again. Now
in Tiger I get this returned when the show window command is triggered
NSReceiverEvaluationScriptError: 4 (1)
Does Anyone know how to show an window for the second time after it
was closed? Showing the first time works but fails on the second attemp.