Finding the calling code/object/script?

Scott Rossi scott at tactilemedia.com
Thu Aug 22 16:38:10 EDT 2013


You might try the executionContexts property (may still be undocumented).

Use this after executing something: put the executionContexts

Shows the objects that handled messages
.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 8/22/13 12:44 PM, "Dr. Hawkins" <dochawk at gmail.com> wrote:

>Is there a way to work back up a message to see where a command
>originated?
>
>I am trying to trap a message that used to be valid in my code, that
>isn't.  Earlier versions allowed this message to go straight to a
>field.
>
>So a "send someCommand to fld abc" is no longer valid; it must now
>come in the context of "someCommand arguments" in the code.
>
>Is there a way inside of the handler of someCommand to find out whow
>it was invoked?
>
>-- 
>Dr. Richard E. Hawkins, Esq.
>(702) 508-8462
>
>_______________________________________________
>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