• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get handler name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get handler name


  • Subject: Re: get handler name
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 22 Mar 2001 15:00:58 -0800

On 3/22/01 2:02 PM, Brad Giesbrecht <email@hidden> wrote:

>Is there a way to get a handler's name?
>
><snip>
>on handlerName()
>try
>on error
>set h to -- code that will return "on handlerName()"
>end try
>end handlerName

You can fake it:

on handlerName()
try
set foo to foo + 1 --create an error condition
on error
return "handlerName"
end try
end handlerName

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Follow-Ups:
    • Re: get handler name
      • From: Jed Verity <email@hidden>
  • Prev by Date: Re: Folder Actions Question
  • Next by Date: Invisible files
  • Previous by thread: Re: get handler name
  • Next by thread: Re: get handler name
  • Index(es):
    • Date
    • Thread