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!
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.
Could you tell me how to get to a broadcast event name?
Re: Could you tell me how to get to a broadcast event name?
I have not used the "Broadcast" plugin but I assume the data is in the payload variable.nuzihan wrote:I would like to ask how to use "Show OSD" action displays the text "hello"
Code: Select all
{eg.event.payload}jonib
Re: Could you tell me how to get to a broadcast event name?
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"
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"
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Could you tell me how to get to a broadcast event name?
Is it a question or statement???
If you are interested in showing other parts of the event, use the following as example
The eg event is well-documented in the documentation section
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}
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: Could you tell me how to get to a broadcast event name?
I solve all the problems!
Thank you for help!
Thank you for help!
