Play Sound

Top  Previous  Next

This action allows you to play a sound file. Since Windows VISTA/2008/7, Microsoft has disabled any interaction between a system service and the user desktop. This includes playing sounds as well. So if you want to use the Play Sound Action on any of this Windows Version, you will need to run the service in console mode (From command prompt with the -r option).

 

actions_014

Play Sound Dialog

 

Please note: if your machine has multiple sound cards installed, the "Play Sound" action will always use the card, that was installed first into the system.

 

However there is a work around if you want to use Play Sound Action for a second sound card!

 

 

Filename of the Soundfile

 

Please enter the name of the sound file to play. This must be a .WAV file, other formats (like MP3) are not supported. While in theory it is possible that the sound file resides on a different machine, we highly recommend using files on the local machine only. Using remote files is officially not supported (but currently doable if you are prepared for some extra effort in getting this going).

If the file can either not be found or is not in a valid format, a system beep is emitted instead (this should - by API definition - be possible on any system).

 

 

Playcount

 

This specifies how many times the file is played. It can be re-played up to a hundered times.

 

Please note: Playing sounds is performance intense and MonitorWare Agent will block all other actions while sounds are being played. As such, we recommend to limit the duration and repeat count of sounds played.

 

 

Delay between Plays

 

If multiple repeats are specified, this is the amount of time that is to be waited for between each individual play.