mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-27 02:14:31 +01:00
Fixed typo
This commit is contained in:
parent
50cf8e6a16
commit
384002f9ec
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$Voice = new-object -ComObject SAPI.SPVoice
|
$Voice = new-object -ComObject SAPI.SPVoice
|
||||||
Result = $Voice.Speak("This is the default voice")
|
$Result = $Voice.Speak("This is the default voice")
|
||||||
|
|
||||||
$Voice.rate = 10
|
$Voice.rate = 10
|
||||||
$Result = $Voice.Speak("Let's speak fast")
|
$Result = $Voice.Speak("Let's speak fast")
|
||||||
@ -27,7 +27,7 @@ try {
|
|||||||
$Description = $OtherVoice.GetDescription()
|
$Description = $OtherVoice.GetDescription()
|
||||||
write-output "This is: $Description"
|
write-output "This is: $Description"
|
||||||
$Voice.Voice = $OtherVoice
|
$Voice.Voice = $OtherVoice
|
||||||
Result = $Voice.Speak("1 2 3 - this is $Description")
|
$Result = $Voice.Speak("1 2 3 - this is $Description")
|
||||||
}
|
}
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user