Sound
Rainmeter supports audio commands that can be used like and other commands or
!bangs.
PLAY [soundfile] - Plays the given soundfile once.
PLAYLOOP [soundfile] - Plays the given soundfile as loop.
PLAYSTOP - Stops the currently playing sound.
Example formatting:
ButtonCommand=PLAY #SKINSPATH#Beeper\Sounds\beep.wav
ButtonCommand=PLAY "#SKINSPATH#Beeper\Sounds\beep.wav"
ButtonCommand=!execute [PLAY #SKINSPATH#Beeper\Sounds\beep.wav]
ButtonCommand=!execute [PLAY "#SKINSPATH#Beeper\Sounds\beep.wav"]
Example:
[BeeperButton]
Meter=Button
ButtonImage=button.png
ButtonCommand=PLAY #SKINSPATH#Beeper\Sounds\beep.wav
This would create a button that plays "beep.wav" when it is clicked.