Re: Time to figure out what is going on...
Re: Time to figure out what is going on...
- Subject: Re: Time to figure out what is going on...
- From: Glenn Sugden <email@hidden>
- Date: Sun, 21 Aug 2005 23:27:20 -0700
On Aug 21, 2005, at 7:53 AM, Matt Neuburg wrote:
*All* scripts that throw *any* error in Apple's Script Menu fail
silently
("no error message, no beep, no nothing").
So wrap your script in a try block. In the error block of the try
block,
catch the error with all its parameters and show the info as a display
dialog or alert. Now you can see why you're failing at runtime.
A great suggestion - not sure why it didn't occur to me. ;-)
So now I get the helpful "NSReceiverEvaluationScriptError: 4"
error message (string).
Time to do some "I made it here"s... uhg.
Thanks,
::Glenn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden