opensubscriber
   Find in this group all groups
 
Unknown more information…

a : applescript-studio@lists.apple.com 12 January 2006 • 7:23PM -0500

NSReceiverEvaluationScriptError: 4 (1)==>show window command
by Bastiaan Boertien

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi list

With applications I've written in xcode 1.5 and panther I used the  
next handler

on activate theObject
show window "main"
end activate

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.

Greetings Bastiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (Applescript-studio@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.