I need to know who sent a message
Posted: Mon Nov 30, 2009 12:49 am
Hello,
in a event I can use "me" to get a reference to the script owner. Is there a keyword to know who raised the message?
For example:
BUTTON_1:
BUTTON_2:
In this example, "sender" is not a keyword, but please take only the concept. In BUTTON_2, how can I get the name of the message sender (in the example it it BUTTON_1).
Thank you!
in a event I can use "me" to get a reference to the script owner. Is there a keyword to know who raised the message?
For example:
BUTTON_1:
Code: Select all
on mouseUp
send "go" to button "BUTTON_2"
end mouseUp
Code: Select all
on go
answer "This message was arised by..." && sender
end go
Thank you!