mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 01:48:20 +02:00
Error line 26
$SpeechSynthesizer.SetOutputToWaveFile($tWavFile) -> $SpeechSynthesizer.SetOutputToWaveFile($WavFile)
This commit is contained in:
parent
440f882eaf
commit
75a1346163
@ -23,7 +23,7 @@ try {
|
|||||||
|
|
||||||
Add-Type -AssemblyName System.Speech
|
Add-Type -AssemblyName System.Speech
|
||||||
$SpeechSynthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
$SpeechSynthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
||||||
$SpeechSynthesizer.SetOutputToWaveFile($tWavFile)
|
$SpeechSynthesizer.SetOutputToWaveFile($WavFile)
|
||||||
$SpeechSynthesizer.Speak($Text)
|
$SpeechSynthesizer.Speak($Text)
|
||||||
$SpeechSynthesizer.Dispose()
|
$SpeechSynthesizer.Dispose()
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
|
Loading…
Reference in New Issue
Block a user