mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 08:23:14 +01:00
Update speak-italian.ps1
This commit is contained in:
parent
443a762a70
commit
a23129f53c
@ -14,7 +14,7 @@
|
|||||||
param([string]$text = "")
|
param([string]$text = "")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($text -eq "") { $text = read-host "Enter the text to speak" }
|
if ($text -eq "") { $text = read-host "Enter the Italian text to speak" }
|
||||||
|
|
||||||
$Voice = New-Object -ComObject SAPI.SPVoice
|
$Voice = New-Object -ComObject SAPI.SPVoice
|
||||||
$Voices = $Voice.GetVoices()
|
$Voices = $Voice.GetVoices()
|
||||||
|
Loading…
Reference in New Issue
Block a user