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.
trigger macros with timer
trigger macros with timer
I know that several posts have already dealt with this, but I am still confused. I'm wanting to trigger a macro at a specific time everyday. From what I've read so far, you need the timer plug-in to do this. I have added the timer plug-in, but I'm not sure what to do with it now.
Re: trigger macros with timer
You could also use the windows task scheduler.
Using the timer plugin you have to start a timer with some event (maybe the Main.OnInit event). When the timer finishes it triggers an event you can use to execute your daily macro. Within this macro you can start a new timer for the next day event.
Be aware that the timer does not take standby times into account so I would go with the task scheduler if this is the case.
Using the timer plugin you have to start a timer with some event (maybe the Main.OnInit event). When the timer finishes it triggers an event you can use to execute your daily macro. Within this macro you can start a new timer for the next day event.
Be aware that the timer does not take standby times into account so I would go with the task scheduler if this is the case.
Re: trigger macros with timer
What you are saying sounds rather complicated. I guess using Windows task scheduler might be a lot easier. How would I use it to trigger a macro?
Re: trigger macros with timer
you can use the -e eventName command line parameterdmehling wrote:What you are saying sounds rather complicated. I guess using Windows task scheduler might be a lot easier. How would I use it to trigger a macro?
Re: trigger macros with timer
I guess I'm going to be needing a little more help with that, because I have never used the command line. What is the first step?
Re: trigger macros with timer
you can directly go the task scheduler.
Somewhere in the process you are asked for a program. Just select the EventGhost.exe and as arguments you give -e MyDailyEvent
that will give you an event Main.MyDailyEvent
Somewhere in the process you are asked for a program. Just select the EventGhost.exe and as arguments you give -e MyDailyEvent
that will give you an event Main.MyDailyEvent
Re: trigger macros with timer
That makes a little more sense now, but I don't quite understand how to create an event that will trigger my macro. The only way I know to create a event is to click add event. But I don't know exactly what to do with such an event. How do I cause that event to trigger a macro?
Re: trigger macros with timer
You can just drag an event from log on the left to a macro on the right in the tree. If that event is triggered again the macro will be executed.
Re: trigger macros with timer
I am still having some difficulty. I have created an event that I know will trigger the macro. However, I still cannot get task scheduler to trigger the event. Maybe I am not defining the argument correctly. Can you tell me exactly what the argument should be? The name of my event is USB_UIRT.Unknown.10
Re: trigger macros with timer
The event you mentioned is from the USB-UIRT plugin.
From the command line all the events will start with "Main." and you cannot trigger such an event.
From the command line all the events will start with "Main." and you cannot trigger such an event.
Re: trigger macros with timer
So I can't use Windows task scheduler to initiate an event?
Re: trigger macros with timer
yes so can. But you cannot trigger an event with the name "USB_UIRT.Unknown.10"dmehling wrote:So I can't use Windows task scheduler to initiate an event?
The events from command line always start with "Main."
Just edit the name in the tree to a name like Main.ScheduledEvent and in the task scheduler you set
-e ScheduledEvent
as arguments
Re: trigger macros with timer
I think I've got it figured out now. Thanks for your help.
Re: trigger macros with timer
hello there i also have a same question, i want these actions to be triggered on the specific time or it should be triggered when the wifi reconnects back after 1 hr
thanks
any help would be appreciated
thanks
any help would be appreciated