node-sfx icon indicating copy to clipboard operation
node-sfx copied to clipboard

Windows support

Open GMTurbo opened this issue 10 years ago • 4 comments

i noticed you have platform json files. Here's how you run a sound effect in the windows cmd.

exec('powershell -c (New-Object Media.SoundPlayer "notification.wav").PlaySync();', function (error, stdout, stderr) {
      // output is in stdout
    });

GMTurbo avatar Jul 02 '14 19:07 GMTurbo

I have way to test on Windows so feel free to submit a pull request!

adriancooney avatar Jul 02 '14 19:07 adriancooney

Cannot find module './platform/win32.json

maxwowpow avatar Nov 21 '14 16:11 maxwowpow

https://github.com/adriancooney/node-sfx/pull/6 seems to work quite well if you have the VBS requirements, most people should :)

ProbablePrime avatar Jan 03 '17 00:01 ProbablePrime

is project completely abandoned?

evegreen avatar Jan 29 '18 16:01 evegreen