/
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
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
file | 1 | string | — | Plays 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;
, multiple selections available,