-
-
Save adegard/7f21fa61f9e029c695c63fe4403c9196 to your computer and use it in GitHub Desktop.
Esegue un suono (solo wav?) tramite vbs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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