PlaySound
Plays the specified sound file. This command turns the microphone off while the sound plays. The next command in the script executes when the sound file stops playing.
Syntax
PlaySound "fileName.wav"
Argument | Description |
---|---|
fileName.wav | The name of the sound file to play and, optionally, its path. If no path is specified, the file must be in the Dragon Program folder or in a directory that is searched when Windows starts a program. The .wav extension is not needed. |
Example
This example plays the standard Windows chimes sound.
PlaySound "C:\Windows\Media\Chimes.wav"