Skip to content

Instantly share code, notes, and snippets.

@pastareal
Created August 29, 2024 13:25
Show Gist options
  • Save pastareal/46bc3ad83b3eb584cb930314b4d238d5 to your computer and use it in GitHub Desktop.
Save pastareal/46bc3ad83b3eb584cb930314b4d238d5 to your computer and use it in GitHub Desktop.
Microsoft Speech API 4.0 using VBS
Dim userinput
userinput = inputbox("Type something to make your computer speak")
set sapi = wscript.createobject("SAPI.Spvoice")
Sapi.speak userinput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment