How to create a List of My Functions and My Commands

Kay C Lan lan.kc.macmail at gmail.com
Sun Sep 28 04:59:49 EDT 2014


Dick,

Thanks so much. Undocumented functions, you gotta love them. Actually,
gotta love this List, so much hidden information revealed.

Thanks again.

On Sun, Sep 28, 2014 at 1:21 PM, Dick Kriesel <dick.kriesel at mail.com> wrote:
> On Sep 27, 2014, at 8:34 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
>
>> At this stage it looks like I have to step through each object,
>> extract each script and then parse out the handler names; which of
>> course is exactly what LC does extremely quickly and efficiently, but
>> not as quick as if there is a command/function that already does it
>> ;-)
>
> Hi, Kay.
>
> For each object, to discover all its available handler names, their types, and their line numbers in the script, you can use function handlerList( tObject, tIncludeBehaviorHandlers, tIncludePrivateHandlers ). So if you want to include behavior handlers and private handlers of tObject, the expression is handlerList( tObject, "true", "true" ).  I've found code in the IDE that invokes function handlerList, but I haven't found the code for the function itself.
>
> Or you can use function revAvailableHandlers( tObject ).
>
> -- Dick
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list