Montag, 12. Mai 2014

PowerShell can talk

yes right powershell can talk. User Windows 8.1 and the following command.

$talk = New-Object -ComObject "sapi.spvoice"
$talk.voice = $talk.GetVoices().item(1)
$talk.Rate = 0
$talk.Speak("The empire strikes back")

Great german tutorial here

Keine Kommentare:

Kommentar veröffentlichen