mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Improved the scripts
This commit is contained in:
@ -11,6 +11,7 @@ $PathToRepo = "$PSScriptRoot/.."
|
||||
|
||||
try {
|
||||
write-output "Init speech recognition engine..."
|
||||
[system.threading.thread]::currentthread.currentculture=[system.globalization.cultureinfo]"en-US"
|
||||
[void][System.Reflection.Assembly]::LoadWithPartialName("System.Speech")
|
||||
$speechRecogEng = [System.Speech.Recognition.SpeechRecognitionEngine]::new()
|
||||
#$speechRecogEng.InitialSilenceTimeout = 15
|
||||
|
Reference in New Issue
Block a user