From 2846f2781279206e65507a8f0f0890794d333ec5 Mon Sep 17 00:00:00 2001 From: Gene Biondo Date: Tue, 21 May 2024 15:40:17 -0700 Subject: [PATCH] Update say.bat to allow multiple words This allows multiple parameters as words of a sentence, rather than a single word --- hybrids/mshta/say.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hybrids/mshta/say.bat b/hybrids/mshta/say.bat index c82f34f..43a328f 100644 --- a/hybrids/mshta/say.bat +++ b/hybrids/mshta/say.bat @@ -1,6 +1,6 @@ :speak @echo off setlocal enableDelayedExpansion -set "toSay=%~1" +set "toSay=%*" mshta "javascript:code(close((v=new ActiveXObject('SAPI.SpVoice')).GetVoices()&&v.Speak('!toSay!')))" endLocal