Update the speak-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2023-08-06 11:27:49 +02:00
parent 33a42c2547
commit 001c19a2b3
21 changed files with 88 additions and 88 deletions

View File

@ -16,7 +16,7 @@
param([string]$text = "")
try {
if ($text -eq "") { $text = read-host "Enter the text to speak" }
if ($text -eq "") { $text = Read-Host "Enter the text to speak" }
$Voice = new-object -ComObject SAPI.SPVoice
[void]$Voice.Speak($text)