How to play sound in MacOS widget?
- by omidomaru
I want to play sound in my widget with this code:
var soundFile = "/sound.wav";
widget.playSound (soundFile);
But there is no sound.
Please help me. I tried to find something like System.Sound.playSound(soundFile), but have not found analogue for Mac OS.