Page 1 of 1
Could you tell me how to get to a broadcast event name?
Posted: Sun Jun 09, 2013 3:51 pm
by nuzihan
1, I added a "Broadcast" plugin (listening address is 192.168.1.2, the port is 1234)
2, I use "UDP Sender" sends a UDP packet (UDP packet text if it is "hello") to 192.168.1.2:1024
3, EventGhost will receive a "broadcast event"
I would like to ask how to use "Show OSD" action displays the text "hello"
Thank you for your reply!
Re: Could you tell me how to get to a broadcast event name?
Posted: Sun Jun 09, 2013 6:18 pm
by jonib
nuzihan wrote:I would like to ask how to use "Show OSD" action displays the text "hello"
I have not used the "Broadcast" plugin but I assume the data is in the payload variable.
Put this in "Show OSD" and it should display the event data.
jonib
Re: Could you tell me how to get to a broadcast event name?
Posted: Mon Jun 10, 2013 12:53 am
by nuzihan
thank you very much!
Can display the name of "event"?
For example, a "Task.Deactivated.Desktop" event occurred
Then the "Show OSD" will display "Task.Deactivated.Desktop"
Similarly
For example, a "Task.Activated.EventGhost" event occurred
Then the "Show OSD" will display "Task.Activated.EventGhost"
Re: Could you tell me how to get to a broadcast event name?
Posted: Mon Jun 10, 2013 4:21 am
by krambriw
Is it a question or statement???
If you are interested in showing other parts of the event, use the following as example
Code: Select all
{eg.event.string}
{eg.event.prefix}
{eg.event.suffix}
The eg event is well-documented in the documentation section
Re: Could you tell me how to get to a broadcast event name?
Posted: Mon Jun 10, 2013 4:45 am
by nuzihan
I solve all the problems!
Thank you for help!