Created
July 31, 2016 12:59
-
-
Save ebith/f108bd114148e78133d3d534bed1a438 to your computer and use it in GitHub Desktop.
say command for Windows
This file contains 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
var args = []; | |
for (var i = 0; i < WScript.Arguments.length; i++) { | |
args.push(WScript.Arguments(i)); | |
} | |
new ActiveXObject('SAPI.SpVoice').Speak(args.join(' ')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment