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.
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.
Executing Macros based on time?
Executing Macros based on time?
I just started using event ghost and I can't seem to figure out if there is a way to execute macros you have made at specific times. I don't think there is a timer built into EventGhost so I tried to look up how to execute via command line and then just make a batch file and run with Windows Scheduled Tasks, but I can't get the command line to work either. Thanks in advance for any help on this topic.
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Executing Macros based on time?
Look for the Timer plugin.
For command line usage look here:
http://www.eventghost.org/wiki/Command-line_reference
For command line usage look here:
http://www.eventghost.org/wiki/Command-line_reference
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: Executing Macros based on time?
What exe am I supposed to be using for the command line parameters?
Re: Executing Macros based on time?
The EventGhost.exe.TMLewiss wrote:What exe am I supposed to be using for the command line parameters?
The only other one is the uninstaller and we hope you won't have to run this one
Re: Executing Macros based on time?
Hmm here is what I am doing
>"C:\Program Files\EventGhost\EventGhost.exe" -e "IR Transmit (1)"
But nothing happens. Am I doing something wrong? IR Transmit (1) is an event I made that transmits 1 through my USB-UIRT. It works when I execute it from EventGhost. Or, how do you use the timer to execute a macro you make. I mean I can set it up, but then what. am I supposed to put it in the macro and just start that macro?
>"C:\Program Files\EventGhost\EventGhost.exe" -e "IR Transmit (1)"
But nothing happens. Am I doing something wrong? IR Transmit (1) is an event I made that transmits 1 through my USB-UIRT. It works when I execute it from EventGhost. Or, how do you use the timer to execute a macro you make. I mean I can set it up, but then what. am I supposed to put it in the macro and just start that macro?
Re: Executing Macros based on time?
Works fine here. Maybe you can post the macro her between code tags.TMLewiss wrote:Hmm here is what I am doing
>"C:\Program Files\EventGhost\EventGhost.exe" -e "IR Transmit (1)"
But nothing happens. Am I doing something wrong? IR Transmit (1) is an event I made that transmits 1 through my USB-UIRT. It works when I execute it from EventGhost.
You have to add the timer plugin and add a Start Timer Action with the wanted parameters. This action has to be called somewhere. You can put it in the autostart folder if it the event should be triggered unconditionally.TMLewiss wrote:Or, how do you use the timer to execute a macro you make. I mean I can set it up, but then what. am I supposed to put it in the macro and just start that macro?
Keep in mind the timer plugin only supports triggering events within the next 24h and it does not consider complex complex things like DST or traveling through time zones.
Re: Executing Macros based on time?
I think what I am doing wrong is that I don't know what an "event" is. I am trying to call actions and macros that I make within EventGhost. You know, Add Action, IR Transmit. So what is an "event" and how do I make them. Or am I supposed to be able to call the macros that I make in EventGhost from the command line?
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Executing Macros based on time?
You should start with the basics and read this article carefully:
http://www.eventghost.org/wiki/Controll ... EventGhost
http://www.eventghost.org/wiki/Controll ... EventGhost
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: Executing Macros based on time?
Will do, thanks.
Lol, got it already. Thanks for all your help. You know, I read that before, but I only got through the beginning and thought it was just about setting up the hardware. Guess I should just pay more attention. sorry for wasting your time.
Lol, got it already. Thanks for all your help. You know, I read that before, but I only got through the beginning and thought it was just about setting up the hardware. Guess I should just pay more attention. sorry for wasting your time.