PlaySound Example

 

This example will play a .wav file named ô2010_09.wavö from the AutoMateÖ directory.

 

Sub Main

 'Play the sound file from the AutoMateÖ directory

 'the %AMDIR% is an AutoMateÖ system constant that

 'can only be used with the AutoMateÖ task interpreter

 'we could have also used a literal path

 

 Action.PlaySound("%AMDIR%\2010_09.wav", "1")

End Sub