Go to documentation repository
...
| Code Block |
|---|
if (Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN")
{
var msgevent = CreateMsg();
msgevent.SourceType = "CUSTOM";
msgevent.SourceId = "1";
msgevent.Action = "ON";
NotifyEvent(msgevent);
} |