• 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: how to get the name of the current handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 11:17:29 -0500

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.



On Nov 6, 2005, at 11:12 PM, CYB wrote:

Why not try
tell application "Script Editor"
name of document 1
end tell
Path to me will be fine if it's an application.
Of course this will get you the name of the doc, no the name of the handler



Carlos Ysunza B. Director Ysunza/Santiago Visual Communication • Automation Tel. (52)55 5256-0336 email@hidden

http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.applescript.com.mx


From: <email@hidden>
Date: Sun, 6 Nov 2005 16:37:33 -0500
To: Applescript Users <email@hidden>
Subject: how to get the name of the current handler


on test() return (name of me) end test

test()
-- is returning "Script Editor" instead of "test"

How do I get the name of the current handler from inside it



_______________________________________________ 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
  • Follow-Ups:
    • Re: how to get the name of the current handler
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: how to get the name of the current handler
  • Next by Date: Re: how to get the name of the current handler
  • Previous by thread: Re: how to get the name of the current handler
  • Next by thread: Re: how to get the name of the current handler
  • Index(es):
    • Date
    • Thread