Created
July 29, 2014 15:36
-
-
Save Archigos/de03ec800f42febbdfa6 to your computer and use it in GitHub Desktop.
Use speech in your scripts (See NirCmdCheck gist for more info)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF && nircmd setsysvolume 65535 | |
GOTO Beginning | |
:: Start Comment Block | |
Have speech notifications in other scripts. Please note, all speech must be | |
phonetic so you may have to 'fudge' some spelling to make it sound correct. | |
Example, working with IIS on Windows, you may need to reference the IUSR account | |
and to do it correctly you'd use something like this: | |
Say "File permissions reset for I user account" | |
All speech must be contained within double quotes. | |
:: End Comment Block | |
:Beginning | |
IF "%~1" == "" ( | |
nircmd speak text "You forgot to include what I'm supposed to say..." | |
) ELSE ( | |
nircmd speak text "%~1" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment