NinjaScript > Language Reference > Alert & Debug >
PlaySound()
Definition
Plays a .wav file
Syntax
PlaySound(string fileName)
* Calls to this method are ignored on historical data, it will only work in real-time.
Parameters
fileName
File name of .wav file to play
Examples
// Plays the wav file mySound.wav
PlaySound(@"C:\mySound.wav");