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:WINDOWSMediaNotify.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34)
objShell.Run strCommand, 0, True
- Published:
- 08.09.08 / 6pm
- Category:
- Rhinoscript, Software










No comments
Jump to comment form | comments rss [?] | trackback uri [?]