Macro to hold a button for x seconds

Moderator: AdminGroup

darkovertones
Posts: 8
Joined: Thu Dec 15, 2022 8:54
Been thanked: 1 time

Macro to hold a button for x seconds

Postby darkovertones » Thu Dec 15, 2022 9:08

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!

Ron61
Posts: 3275
Joined: Tue Jan 15, 2013 23:56
Location: г.Минск
Has thanked: 44 times
Been thanked: 637 times

Re: Macro to hold a button for x seconds

Postby Ron61 » Thu Dec 15, 2022 11:21

Maybe try using generators?

darkovertones
Posts: 8
Joined: Thu Dec 15, 2022 8:54
Been thanked: 1 time

Re: Macro to hold a button for x seconds

Postby darkovertones » Fri Dec 16, 2022 7:41

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


Return to “Manuals and Howtos”

Who is online

Users browsing this forum: No registered users and 15 guests