Lyn Teyla wrote:

> How does one automatically run a handler each time a handler/function
> within the current script is run?

If you turn on the messageMessages global property, all handler activity can be monitored in a frontScript with a messageHandled handler.

This is global, however. I don't know a way to limit such monitoring to a specific script. If you know the names of the handlers in the script you could filter the messageHandled params - if that would work you can quickly obtain a list of all handlers in a script with the revAvailableHandlers function.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 ____________________________________________________________
 ambassa...@fourthworld.com        http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to