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.

About "Trigger Event" action...

If you have a question or need help, this is the place to be.
Post Reply
mikkokh
Posts: 20
Joined: Wed Sep 05, 2007 6:42 pm
Location: Finland

About "Trigger Event" action...

Post by mikkokh »

Is it so that there is no way to give also some arguments when creating a new "Trigger Event" action item? If it is so, then could also this feature to be included into next EG version? It would be nice if that argument could also be some defined Python variable...

Thanks!
Win 7 Pro 64bit (SP1) / Win 10 Pro 64bit running on Asus M5A97 R2.0 (16GB DDR3-SDRAM) with AMD FX-8300.
Win 7 Home Pemium 64bit (SP1) / Win 10 Pro 64bit running on Asus K73TK (8GB DDR3-SDRAM) with AMD A6-3420M.
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: About "Trigger Event" action...

Post by Bartman »

Do you mean the payload of the event?
You can use the python command macro like this:

Code: Select all

eg.TriggerEvent("EventName", payload="payload")
mikkokh
Posts: 20
Joined: Wed Sep 05, 2007 6:42 pm
Location: Finland

Re: About "Trigger Event" action...

Post by mikkokh »

Bartman wrote:Do you mean the payload of the event?
You can use the python command macro like this:

Code: Select all

eg.TriggerEvent("EventName", payload="payload")
Yes, this it what I mean. It seems to work. Thanks!
Win 7 Pro 64bit (SP1) / Win 10 Pro 64bit running on Asus M5A97 R2.0 (16GB DDR3-SDRAM) with AMD FX-8300.
Win 7 Home Pemium 64bit (SP1) / Win 10 Pro 64bit running on Asus K73TK (8GB DDR3-SDRAM) with AMD A6-3420M.
Post Reply