scripts/VBS/LockSound.vbs

5 lines
188 B
Plaintext
Raw Normal View History

2023-11-20 10:19:41 +00:00
Set oVoice = CreateObject("SAPI.SpVoice")
set oSpFileStream = CreateObject("SAPI.SpFileStream")
oSpFileStream.Open "C:\Success.wav"
oVoice.SpeakStream oSpFileStream
oSpFileStream.Close