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.

Executing Macros based on time?

If you have a question or need help, this is the place to be.
Post Reply
TMLewiss
Posts: 7
Joined: Wed Jul 11, 2007 4:45 pm

Executing Macros based on time?

Post by TMLewiss »

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.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Executing Macros based on time?

Post by Bitmonster »

Look for the Timer plugin.

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!
TMLewiss
Posts: 7
Joined: Wed Jul 11, 2007 4:45 pm

Re: Executing Macros based on time?

Post by TMLewiss »

What exe am I supposed to be using for the command line parameters?
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Executing Macros based on time?

Post by Bartman »

TMLewiss wrote:What exe am I supposed to be using for the command line parameters?
The EventGhost.exe.
The only other one is the uninstaller and we hope you won't have to run this one :)
TMLewiss
Posts: 7
Joined: Wed Jul 11, 2007 4:45 pm

Re: Executing Macros based on time?

Post by TMLewiss »

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?
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Executing Macros based on time?

Post by Bartman »

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.
Works fine here. Maybe you can post the macro her between code tags.
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?
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.
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.
TMLewiss
Posts: 7
Joined: Wed Jul 11, 2007 4:45 pm

Re: Executing Macros based on time?

Post by TMLewiss »

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?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Executing Macros based on time?

Post by Bitmonster »

You should start with the basics and read this article carefully:
http://www.eventghost.org/wiki/Controll ... EventGhost
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
TMLewiss
Posts: 7
Joined: Wed Jul 11, 2007 4:45 pm

Re: Executing Macros based on time?

Post by TMLewiss »

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.
Post Reply