Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Loop macro or action a number of times

If you have a question or need help, this is the place to be.
Post Reply
Tal56
Posts: 20
Joined: Tue Jun 22, 2010 6:47 pm

Loop macro or action a number of times

Post by Tal56 »

Hi,

I have a macro that I need to run a variable number of times, is there a way to do this? It's really just one action in the macro that sends a signal via usb-uirt that I want repeated, but repeating the action or macro is fine

Thanks
kalia
Experienced User
Posts: 109
Joined: Wed Aug 12, 2009 1:10 am

Re: Loop macro or action a number of times

Post by kalia »

Have you the "Autorepeat Current Macro"?
Attachments
AutoRepeat Current Macro
AutoRepeat Current Macro
Tal56
Posts: 20
Joined: Tue Jun 22, 2010 6:47 pm

Re: Loop macro or action a number of times

Post by Tal56 »

I actually want to run the macro with an event that has a variable and loop it that amount of times.

It's for changing volume on a tv, so if i pass it "volume_up_5" then it repeats the action of sending the usb-uirt the volume up signal 5 times, thats why I was thinking of it looping the macro.

I think I can do this with a while loop in python, but i'm not a python programmer and am not sure how to do it.
Post Reply