Is This Content Helpful?
We're glad to know this article was helpful.
This script will allow you to run sound files through Avenue.
Edit this script to include the pathname of your sound file.
'Running Sound Files
'TheSnd represents the directory
'structure ringin.wav file.
theSnd = "c:\Winnt\Media\ringin.wav"
if (File.Exists(theSnd.AsFileName)) then
soundArg = theSnd.AsFileName
MsgBox.Warning("File "+theSnd+" not found.", "Warning")