Example #1
0
        public override Action[] Schedule(long timeScheduleFrom)
        {
            // play macro to be repeated
            Tube.PlayMacro(macro);

            // schedule the repeat
            ActionRepeat scheduledCopy = new ActionRepeat(
                this.DelayMS,
                this.macroRepeater,
                this.macro)
            {
                ScheduledTick = timeScheduleFrom + this.delayMS,
                Name          = macroRepeater
            };

            return(new Action[] { scheduledCopy });
        }
Example #2
0
 public override void Play()
 {
     // play macro that initiated the repeater
     // it'll schedules another instance of ActionRepeater (this)
     Tube.PlayMacro(macroRepeater);
 }