PlaySound Action

Plays a sound file or a pre-defined Windows sound.

Parameters

Sound  -  (Optional)

Specifies the type of sound to play. It may be one of the pre-defined Sound constants.

File  -  (Optional)

Specifies the full path name of the wave sound file to play. This parameter is only used if the SndWaveFile type is used. To specify a sound file as an expression, prefix the sound file with an equals (=) sign.

Wait  -  (Optional)

Specifies whether or not the macro should wait until the sound has finished playing. This parameter is only used with the SndWaveFile type.

See Also

PlaySound method