Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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);

}