mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Added speak.ps1
This commit is contained in:
parent
17c7f0453e
commit
e2c36d42ef
11
speak.ps1
Normal file
11
speak.ps1
Normal file
@ -0,0 +1,11 @@
|
||||
# PowerShell Script for Text-To-Speech (TTS)
|
||||
# ------------------------------------------
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
|
||||
$Text = "Hello World!"
|
||||
|
||||
$voice = New-Object ComObject SAPI.SPVoice
|
||||
$voice.Speak($Text);
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user