Rhinoscript Sound Alert

Make your scripts beep at you when they’re done.

add the following code at the end of “sub main”, right before “end sub”


	'BEEP when done
	Dim  objShell, 	   strCommand

	'change the path to any .wav file of your choice
	Dim strSoundFile : strSoundFile = "C:\WINDOWS\Media\Notify.wav"

	Set objShell = CreateObject("Wscript.Shell")
	strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34)
	objShell.Run strCommand, 0, True