scripts/VBS/LockSound.vbs
2023-11-20 11:19:41 +01:00

5 lines
188 B
Plaintext

Set oVoice = CreateObject("SAPI.SpVoice")
set oSpFileStream = CreateObject("SAPI.SpFileStream")
oSpFileStream.Open "C:\Success.wav"
oVoice.SpeakStream oSpFileStream
oSpFileStream.Close