/
playSound

playSound

Description

Plays the default system beep, or a .wav file if one is specified.

Note that the sound plays asynchronously. i.e. script execution continues as the sound plays.

Functional area

System

Command syntax

Syntax

playSound [-file string]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
file1stringPlays the specified .wav file, instead of the default system beep.

Return value

void

Examples

// Sound the system beep to indicate the end of a script
// ... long script ...
playSound;