sender source

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mmiele
Posts: 55
Joined: Sun Jan 21, 2007 1:25 pm

sender source

Post 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?
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: sender source

Post by Klaus »

Buongiorno Mario,

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


Best

Klaus
mmiele
Posts: 55
Joined: Sun Jan 21, 2007 1:25 pm

Re: sender source

Post by mmiele »

Thanks, Klaus
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: sender source

Post 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
https://alternatic.ch
Post Reply