Skip to content

Instantly share code, notes, and snippets.

@ebith
Created Jul 31, 2016
Embed
What would you like to do?
say command for Windows
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