This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

addEventListener
#1
Hi,
Is there any way to add event listeners programmatically in the SpaceLynk?
I have a number of objects that I would like to all call the same event handler and then use event.dst to see which control triggered it.
Is this possible?
Regards
Dave
Reply
#2
Use tags
Reply
#3
Hi Admin,
Thanks for the unbelievably quick response! But I don't understand the answer. I know how to add and remove tags, but still don't understand how that helps me to assign the same event handler to say 100 group addresses. Any guidance would be appreciated.
Regards
Dave
Reply
#4
Select your tag in the "Group address / tag" drop-down menu when creating an event script. This way any object belonging to the given tag will execute this event script.
Reply
#5
Thank you. So simple and so obvious, and I'd completely missed it! :o)
Reply


Forum Jump: