WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: stevengraff on November 24, 2014, 08:20:33 AM

Title: Simple method for playing a wav file
Post by: stevengraff on November 24, 2014, 08:20:33 AM
How can I get my script to play a .wav file for the user? Simple method? Best, low-impact method (i.e. not opening wmp!)

Thanks much,
SG
Title: Re: Simple method for playing a wav file
Post by: snowsnowsnow on November 24, 2014, 08:29:42 AM
PlayWaveForm() ?
Title: Re: Simple method for playing a wav file
Post by: td on November 24, 2014, 08:43:15 AM
Sounds good to me... 

Code (winbatch) Select
PlayWaveForm("tada.wav", 1)
Title: Re: Simple method for playing a wav file
Post by: stevengraff on November 24, 2014, 08:54:01 AM
Thanks. Wow. I sure didn't know anything like that was in there!