×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Difference between revisions of "PlaySound" - MultiCharts
Open main menu

Difference between revisions of "PlaySound"

 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
== Example ==
 
== Example ==
  
Play ding.wav sound file located in the root directory of the C: hard drive:  
+
Play the 'ding.wav' sound file located in the root directory of the C: hard drive:  
  
 
<syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight>  
 
<syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight>  
  
 
[[Category:Output]]
 
[[Category:Output]]

Latest revision as of 15:00, 19 February 2012

Plays the specified wave (.wav) sound file.

Usage

PlaySound("PathFilename")

Where:

PathFilename - a string expression specifying the path and filename of the wave file to be played.

Notes

Example

Play the 'ding.wav' sound file located in the root directory of the C: hard drive:

PlaySound("C:\ding.wav");