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.

Sound on keypress

If you have a question or need help, this is the place to be.
Post Reply
nospam999
Posts: 5
Joined: Fri Mar 01, 2013 10:20 am

Sound on keypress

Post by nospam999 »

I would like to play a short wave file when a keypress is done for example when I click on channel up / channel down. I have already tried a task with reference to a file like "example.wav", but it does not work because I get an error message. Can anyone help?

(Eventghost with dvbviewer and MCE remote plugin)
miljbee
Experienced User
Posts: 146
Joined: Fri Mar 27, 2009 1:29 pm
Location: Orl├®ans, France

Re: Sound on keypress

Post by miljbee »

More details would be helpfull.

But, anyway, try to copy/paste this in your macro.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1610">
    <Action>
        System.PlaySound(u'C:\\WINDOWS\\Media\\ding.wav', 1, False)
    </Action>
</EventGhost>
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
nospam999
Posts: 5
Joined: Fri Mar 01, 2013 10:20 am

Re: Sound on keypress

Post by nospam999 »

Fantastic, it works. Thank you very much for helping, you're awesome!!! :D
Post Reply