mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 00:54:04 +01: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
|
||||
$SpeechSynthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
|
||||
$SpeechSynthesizer.SetOutputToWaveFile($tWavFile)
|
||||
$SpeechSynthesizer.SetOutputToWaveFile($WavFile)
|
||||
$SpeechSynthesizer.Speak($Text)
|
||||
$SpeechSynthesizer.Dispose()
|
||||
exit 0 # success
|
||||
|
Loading…
Reference in New Issue
Block a user