Re: how to get the name of the current handler
Re: how to get the name of the current handler
- Subject: Re: how to get the name of the current handler
- From: email@hidden
- Date: Mon, 7 Nov 2005 13:49:27 -0500
I am trying to avoid hard coding, so that it can be a generic error
trap function. It seems like Applescript does not have this. Maybe in
2.0 handler properties can be added, such as it's name and even the
handle itself.
On Nov 7, 2005, at 11:54 AM, Michelle Steiner wrote:
On Nov 7, 2005, at 9:17 AM, email@hidden wrote:
I very much appreciate your feedback. I am specifically looking for
the Handler name and not other information.
The reason for needing this is for debugging purposes to identify the
offending handler.
As Nigel suggested, hard code the handler's name within the handler
itself.
on test ()
try
-- do stuff
on error
return "test"
end try
end test
_______________________________________________
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