mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Small improvement to the way the powershell code lines render in win_say module (html rendering only, still does not break lines properly in ansible-doc) (#25624)
This commit is contained in:
parent
d5becd728e
commit
e017bf964e
1 changed files with 11 additions and 5 deletions
|
@ -72,11 +72,17 @@ options:
|
|||
author: "Jon Hawkesworth (@jhawkesworth)"
|
||||
notes:
|
||||
- Needs speakers or headphones to do anything useful.
|
||||
- To find which voices are installed, run the following powershell
|
||||
- |
|
||||
To find which voices are installed, run the following powershell commands.
|
||||
|
||||
Add-Type -AssemblyName System.Speech
|
||||
|
||||
$speech = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
|
||||
|
||||
$speech.GetInstalledVoices() | ForEach-Object { $_.VoiceInfo }
|
||||
|
||||
$speech.Dispose()
|
||||
|
||||
- Speech can be surprisingly slow, so its best to keep message text short.
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue