• 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: Run Handler-Name from Text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run Handler-Name from Text?


  • Subject: Re: Run Handler-Name from Text?
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 19 Apr 2012 09:38:12 +0100

Christopher Nebel wrote on Wed, 18 Apr 2012 21:56:26 -0700:

>set fp to handler_for("g")
>fp() --> "g!"

Just to add that the variable used to invoke the handler (fp in this
case) has to be a global, property, or run-handler variable. It doesn't
work with locals — although they can be used to hold the value
temporarily if required.

NG

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Prev by Date: Re: Run Handler-Name from Text?
  • Next by Date: Solution for Mac Lion window parameters
  • Previous by thread: Re: Run Handler-Name from Text?
  • Next by thread: deciphering TextCommand match info record
  • Index(es):
    • Date
    • Thread