Page 1 of 1

Macro to hold a button for x seconds

Posted: Thu Dec 15, 2022 9:08
by darkovertones
I'm looking for a way to make a macro that will hold down the trigger for a fixed period of time and release it.

For example:
-Push button 5
-Button 1 is depressed
-Wait 5 seconds
-Button 1 is released

I tried to create a Button_Alt (on physical button 40) with an output of button 1. Then I used a Macro to trigger button 40, wait 5 seconds, and trigger 40 again.

This is how I learned that Macros trigger logical buttons and not physical buttons! :lol: :roll:

Any help is appreciated!

Re: Macro to hold a button for x seconds

Posted: Thu Dec 15, 2022 11:21
by Ron61
Maybe try using generators?

Re: Macro to hold a button for x seconds

Posted: Fri Dec 16, 2022 7:41
by darkovertones
This is the right answer! Thank you!

I had only seen generators referenced in a pulsing capacity and didn't know they could do this.

For others that may come later, the right answer is...

    Generator on the Physical layer:
  1. Generator Type: GT
  2. Time (x10ms): 500
  3. Multiplier: x10
  4. Select output as Button 1