Hello everyone,
I am trying to use the command line option to create an event within eventghost that I can then use to trigger a macro within eventghost. Right now I know I can use the following:
-event <eventname> [<payload> ...]
Issues the event <eventname> in the currently running EventGhost instance. Optionally you can specify one or more <payload> strings, that will be added to the event in the eg.event.payload field.
I would like to parse out the payload so that I know the event created is specific to the commandline option. I tried writing the commandline like this:
eventghost.exe -e <System.WokeByUserIntervention> [<USBUIRTACTION>]
But it didn't work.
when I tried like this
eventghost.exe -event System.WokeByUserIntervention USB Fire
In eventghost I got this
Process.Created.EventGhost
I'm trying to build on what was posted here
viewtopic.php?f=2&t=5963
Thanks for any help you can give me
-S
PS: Is there a way to have the restart or shutdown action of windows trigger an event that I can link to a macro?
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.
How do I write a macro to trigger from payload of an event?
-
nzdreamer55
- Posts: 10
- Joined: Sat Jan 04, 2014 5:33 pm
Re: How do I write a macro to trigger from payload of an eve
http://www.eventghost.org/forum/viewtop ... f=2&t=5535nzdreamer55 wrote:PS: Is there a way to have the restart or shutdown action of windows trigger an event that I can link to a macro?