Go to documentation repository
Page History
...
| Info | ||
|---|---|---|
| ||
To start this script, you must create the Timer object with ID 1 beforehand. Leave the default object parameters (Any). The Timer 1 object can be disabled. |
| Code Block | ||
|---|---|---|
| ||
if (Event.SourceType == "MACRO" && Event.SourceId == "2" && Event.Action == "RUN")
{
for(i=0; i<=5; i=i+1)
{
DoReactStr("TIMER","1", "DISABLE", "");
Sleep(10000);
DoReactStr("TIMER","1", "ENABLE", "");
NotifyEventStr("TIMER","1", "TRIGGER", "");
}
DoReactStr("TIMER","1", "DISABLE", "");
} |
Overview
Content Tools