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.

Event script - prohibit script execution
#1
Is it possible to update a value for a GA without running the associated event script?
Reply
#2
Please explain what is the task.
------------------------------
Ctrl+F5
Reply
#3
That got me thinking - perhaps I should think this over.
Reply
#4
(16.12.2024, 10:54)FatMax Wrote: Is it possible to update a value for a GA without running the associated event script?

in script you can get value of telegram (event.getvalue()),
address of devise which send this telegram (event.dst)
and get sender (app or daemon from logicmachine) event.sender

these values could be used to stop script:
if (your condition) then return end


if your telegram is from another script you can set your own sender.
grp.sender = 'my'
grp.write.....

then yo can check like that
if (event. sender == 'my') then return end
Reply


Forum Jump: