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.

Need to create a macro to repeat another macro

If you have a question or need help, this is the place to be.
Post Reply
dmehling
Posts: 29
Joined: Wed Jun 24, 2009 12:10 am

Need to create a macro to repeat another macro

Post by dmehling »

I am using Event Ghost to operate my AV devices with the USB-UIRT. I am wanting to create a macro that will cause an IR transmission event to be repeated several times. For example, right now if I want to turn up the volume on my TV, I have to click several times on the "volume up" macro which is very inconvenient. In this instance I would need to create a macro that will repeat the "volume up" macro several times with one click. How would I do something like this?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Need to create a macro to repeat another macro

Post by Pako »

Possibilities how to solve, there are many.
You can use this script for example:

Code: Select all

count = 5
for n in range(count):
    eg.TriggerEvent('MyEvent')
Number of repetition is set in the first row.
Pako
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Need to create a macro to repeat another macro

Post by Prinz »

Hi,
dmehling wrote:For example, right now if I want to turn up the volume on my TV, I have to click several times on the "volume up" macro which is very inconvenient. In this instance I would need to create a macro that will repeat the "volume up" macro several times with one click.
You can use the command "Autorepeat current macro".

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Pio
Posts: 4
Joined: Thu Sep 10, 2009 1:07 pm
Location: Germany

Re: Need to create a macro to repeat another macro

Post by Pio »

At least in the newest version (don't know about before, I just found this awesome program!) there is a volume control built in, also with this repeat command. But you don't need it as you can select by which value the volume should change. So you don't have to do it on your own.
But I am having a similar problem. My remote (technisat with usb-receiver) cannot repeat commands, so I guess this repeat function is useless (maybe its the same for you) and I would like to repeat this command when I press the button once till I press the button again. Is this possible? I didn't find anything, also not by searching.
Thanks, Pio
Post Reply