Skip to content

Instantly share code, notes, and snippets.

@andcar72
Created May 15, 2014 13:55
Show Gist options
  • Save andcar72/d3b8211498aef2659fe0 to your computer and use it in GitHub Desktop.
Save andcar72/d3b8211498aef2659fe0 to your computer and use it in GitHub Desktop.
Esegue un suono (solo wav?) tramite vbs
Set oVoice = CreateObject("SAPI.SpVoice")
set oSpFileStream = CreateObject("SAPI.SpFileStream")
oSpFileStream.Open "C:\Windows\startup.wav"
oVoice.SpeakStream oSpFileStream
oSpFileStream.Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment