"Speak.vbs" is Windows VBScript program that activates Windows text-to-speech system to say anything you pass in through command-line arguments. With this script, you can program batch files that talks to the user.
"Speak.vbs" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with everyone.
"Speak.vbs" "text 1" [ . . . "text n" ]
Says Hello World as one sentence without pausing:
> Speak.vbs "Hello World"
Says Hello. Pause. Says World:
> Speak.vbs "Hello" "World"
You can use "Speak.vbs" to voice an entire text file. To do so, you'll need the "RepeatCommand.cmd" batch script (also available on this web site). The following example shows how to use the combination to voice an entire file.
> type "Voice Over.txt" | RepeatCommand.cmd "Speak.vbs ""#arg#"""
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
Copyright © 1996 - 2022. All Rights Reserved.