Alert.playSound()

eSignal EFS 2

Alert.playSound()

Top  Previous  Next

 

Alert.playSound( wavfile )

 

This function generates an audio alert using the sound file passed as a parameter.

 

Note: you can view/change the location of the Sound Files folder from within the eSignal program. Click on Tools-->EFS-->Settings to pull up the Formula Engine Settings window.

 

Parameters

 

wavfile

full path to the WAV soundfile to play

 

Usage

 

var bCondition = false;

 

function main() {

 

       ...

       ...

       if ( bCondition==true ) {        

               Alert.playSound( "c:\program files\eSignal\Sounds\Warning.wav" );

               ...

       }

 

}