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.

Emulate Another plugin event

If you have a question or need help, this is the place to be.
Post Reply
bxr
Posts: 15
Joined: Sat Jul 21, 2012 2:56 am

Emulate Another plugin event

Post by bxr »

Is it possible to emulate another event without the "main" prefix?
For emulating mce remote by virtual remote for example.
kalia
Experienced User
Posts: 109
Joined: Wed Aug 12, 2009 1:10 am

Re: Emulate Another plugin event

Post by kalia »

Use Python Script: eg.TriggerEvent(self, suffix, payload=None, prefix='Main', source=<dynamic-module 'eg'>)

For example, the following script

Code: Select all

eg.TriggerEvent("Button.L1", payload=None, prefix="PS3", source=eg)
will trigger the event "PS3.Button.L1".
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Emulate Another plugin event

Post by blaher »

Or Add Action / Eventghost / Trigger Event, then type in 'MceRemote.Mce.Play', for example.
Post Reply