Language: C# OS: Microsoft Windows 10 &11
Say CLI use windows voices to speak Text, Time, Logon User Name
C:\Developerr>say /h
Tukansam Software Say Command Line Module, Version: 1.0.0.22927
Copyright c 2016 – 2024 All Rights Reserved Tukansam LLC, All Rights Reserved
Usage: Say [/F] [/M] [/N] [/Q] [/S#] [/T] [/V#] [/R#] [/I] [/H | /?]
[ ] contains optional commands
/M Message to Speak
Example /M Hello world – will speak the words: Hello World
/F Read and Speak the content of the text File
Example /F TextFile.Txt – will speak the text content of TextFile.Txt
/N Speak the log-on User Name
/Q Filename
/S0 Switch to Speak the first speaker (Default)
/S used without a number returns a list of Available Speakers
Example /S1 – Will switch to the second Speaker available
/T Speak Current System Time Only
/V = Set the Volume of the speaker
Example /V100 (Default) – Max Volume is 100
/R = Set the speed the speaker Speaks
Example /R1 (Default) – Max is 10
/I = run Minimized
Examples:
Say — Show Help5
Say /M I love your Software /N /T — Will Say: (Logged-ON Username), I love your Software. It is (time)
Say /N /T — Will Say: (Logged-ON Username), It is (time)
Say /Q Filename (File Name with .TXT must be at least 5 Characters) — read quotes in a text file and randomly selects a quote to say.
Say /T — Will Say: It is (time)
Say /T /V50 /R5 — Will Say: It is (time) at half the volume and 5 times the speed
Optional /H or /? = Show Help – This information