I have been running some long Monte carlo Sims - each takes about 20mins, so I go an do something else while it is running.
What I would like to be able to do is generate a sound when it has finished so I can extract the results and start it off on the next one.
Can't see any way to do it - ideas anyone ??
In the olden days when we used "Basic" a string with "ctrl G" would do it - such is progress....
The following VBscript will play a selected .wav sound file instead of just the beep. It should be obvious where to place it in the previous beep componenet.
strSoundFile = "C:\My Documents\sounds\ring.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close " & Chr(34) & strSoundFile & Chr(34)
objShell.Run strCommand, 0, True