Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

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;
  • No labels