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.

Quick question on EG sample code

If you have a question or need help, this is the place to be.
Post Reply
eli2k
Posts: 26
Joined: Mon Jun 29, 2009 10:34 pm

Quick question on EG sample code

Post by eli2k »

I was looking through the sample configuration file that comes with EventGhost. Under "Start Zoom Player" there is an Event called DVD, and under "Start Winamp" there's another event called Music. Can someone explain how each of there events is triggered?

Thanks,
- Eli
setup: windows 7 + EventGhost 0.5.0-rc4 + Intel nuc6i5syh
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Quick question on EG sample code

Post by stottle »

Bitmonster started to change the IR decoding so that hex codes are mapped to named events. I don't think he implemented this for anything other than the codes for the MCE remote. So instead of getting an event like "USB_UIRT.Rc6.0x800F0424", you get "USB_UIRT.Mce.DVD". That event would trigger Start Zoom Player. If you aren't using an Mce remote, or you are using one that isn't Rc6, you won't see those events, so you need to replace that event with one you will actually see. BTW, "DVD" will match any event "*.DVD".

Brett
eli2k
Posts: 26
Joined: Mon Jun 29, 2009 10:34 pm

Re: Quick question on EG sample code

Post by eli2k »

stottle wrote:BTW, "DVD" will match any event "*.DVD".
Thanks; didn't know EG will match events like that. Good to know.
setup: windows 7 + EventGhost 0.5.0-rc4 + Intel nuc6i5syh
Post Reply