> How to add code to play sound file on button press?

How to add code to play sound file on button press?

Posted at: 2014-06-09 
I just installed Rainmeter today. I was messing around with the Jarvis interface. When I got to changing the windows sounds for his voice, when I set "Open Application" to one of the sound files, I would click the button I have to open facebook in Firefox. But every time it opened, it would play the sound file twice. So how can I encode the buttons individually instead of having them all set to that? I can open the editer for the buttons, but 1.) I am not sure which programming language that is, although I know some of the syntax that belongs, and 2.) the input statement for that language to put a sound file in, if even possible on those buttons. Code for single button: [Site1] meter=button buttonimage=buttonB.png x=460 y=169 buttoncommand=!execute ["https://www.facebook.com"] And after rest of buttons have been declared: [Site1Name] meter=string text=Facebook fontcolor=00fffc fontface=after disaster fontsize=9 stringalign=right x=458 y=168 antialias=1 Is that just HTML? O.o
http://stackoverflow.com/questions/8997363/playing-an-audio-file-on-jbutton-press fairly good data for you.