Page 1 of 1

sender source

Posted: Wed Mar 20, 2013 11:37 am
by mmiele
Hi all,

It's there a way to know from the inner of a script of an object which received a message (sent via "send" or "dispatch") a reference (name or id or ...) of the sender object?

Re: sender source

Posted: Wed Mar 20, 2013 12:18 pm
by Klaus
Buongiorno Mario,

I am not sure, but check "executioncontexts" in the dictionary!


Best

Klaus

Re: sender source

Posted: Wed Mar 20, 2013 12:44 pm
by mmiele
Thanks, Klaus

Re: sender source

Posted: Wed Mar 20, 2013 2:40 pm
by jmburnod
Hi,
I tested executionContexts and it works but i saw this comment in the dictionary
Important: The value of the executionContexts may be changed in future versions of LiveCode, it is not recommended to write code that depends on its contents.
Best
Jean-Marc