It's Cinco de Mayo, and I broke up part of the Mexican Hat Dance into 4 sound files. I hid a bluetooth speaker in the office, and I plan on playing the song every now and then to bother the hell out of everyone at work.
Unfortunately, I am unable to make it work.
Code: Select all
F8::
SoundSetWaveVolume, 100
Msgbox It worked.
return
F9::SoundPlay, MHD1.wav
F10::SoundPlay, MHD2.wav
F11::SoundPlay, MHD3.wav
F12::SoundPlay, MHD4.wav
This code is in the same folder as the wav files. I also tried putting the full C:\users\<username>\Sounds\MHD\MHD1.wav
It didn't help. What am I doing wrong?