01.11.2024, 08:44
when using event script, we use the event.getvalue() function.
Is there any way to get the grp name in event script?
Is there any way to get the grp name in event script?
Event Script
|
01.11.2024, 08:44
when using event script, we use the event.getvalue() function.
Is there any way to get the grp name in event script?
01.11.2024, 08:46
------------------------------
Ctrl+F5
01.11.2024, 09:19
But that recuires me to know the GA address, can i get that without manually entering it?
Also, is there any way to copy event scripts to multiple GA?
01.11.2024, 09:20
event.dst contains the group address that triggered the script. Use tags to assign a single script to multiple groups.
01.11.2024, 10:33
tag based wont work with eventbased, or am i missng something?
01.11.2024, 10:37
It will, just tag your objects. Create event script with this tag. Drop this and start writing to your objects. See what happens in logs
Code: log(grp.find(event.dst).name)
------------------------------
Ctrl+F5
01.11.2024, 10:44
(01.11.2024, 09:20)admin Wrote: event.dst contains the group address that triggered the script. Use tags to assign a single script to multiple groups. (01.11.2024, 10:37)Daniel Wrote: It will, just tag your objects. Create event script with this tag. Drop this and start writing to your objects. See what happens in logs I got the event.dst to work, but I wanted to copy my event script to multiple group adresses, preferably automated copy.
01.11.2024, 10:45
Do not copy, use tag and single script for all.
------------------------------
Ctrl+F5
01.11.2024, 10:52
Can you explain in more details what are you trying to do?
------------------------------
Ctrl+F5 |
« Next Oldest | Next Newest »
|