mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-03 13:40:35 +02:00
Update speak-spanish.ps1
This commit is contained in:
parent
c6d500eeb6
commit
bbae36eaa2
@ -10,7 +10,7 @@
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz / License: CC0
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$text = "")
|
||||
@ -25,7 +25,6 @@ try {
|
||||
[void]$TTSVoice.Speak($text)
|
||||
exit 0 # success
|
||||
}
|
||||
}
|
||||
throw "No Spanish text-to-speech voice found - please install one."
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user