Logic Machine Forum
Alert manager example - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: Alert manager example (/showthread.php?tid=2713)



Alert manager example - Tokatubs - 07.07.2020

To get the alerts into the "Alert manager" i guess they have to come from scripts first. 
Does anybody have an example for me to get started, or a tip to get into using it?


RE: Alert manager example - Erwin van der Zwart - 07.07.2020

Hi,

Just use the script command alert('This is my alert') and the alert manager picks it up automatically.

You can also use dynamic alerts like alert('The value of object ' .. grp.find(event.dst).name .. ' is ' .. event.getvalue() .. " degrees")

BR,

Erwin