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.
System
playSound [-file string] |
None
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
file | 1 | string | — | Plays the specified .wav file, instead of the default system beep. |
void
// Sound the system beep to indicate the end of a script // ... long script ... playSound; |