Play Audio Action




See Also

      Speak, CD Player


Plays the audio file specified. Supported audio formats are .WAV, .MP3, .AU and any other media player supported formats. The step will not return until the file has finished playing.

Practical Usage

Used to play an audible alert. Common uses include: alarm clock, server audio notification, school bell system or any other application that requires audio to be played.


General Tab


Text, Required
MARKUP: SOURCE="C:\foldername\myfavoritesong.mp3"

Specifies the filename of the the audio file that should be played. The file type can be any type supported by your version of Windows and installed media services. Wildcards may be specified which will cause the files in the folder matching the specified mask to play one after another (as a playlist).


Custom Description

This action includes the Description tab for entering a custom step description.

More on setting custom step description

Standard Error Handling Options

This action also includes the standard Error Causes and On Error failure handling options/tabs.

More on Error Handling Options

Variables and Expressions

All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.

More on variables
More on expressions

More on the expression builder


NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.

<AMPLAYAUDIO SOURCE="C:\foldername\mysong.mp3">

<AMPLAYAUDIO SOURCE="C:\myfavoriteband\*.*">