0 Replies - 1129 Views - Last Post: 26 March 2012 - 01:35 PM

#1 html5468  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 15-March 12

Say Something

Posted 26 March 2012 - 01:35 PM

Description: Copy and paste to a text editor and save as .batA super simple text to speech program.
@echo off
title Say Something!

:main
cls
echo.
echo  Say:
echo.
set /p text=
echo Dim Message, Speak > msg.vbs
echo Message="%text%" >> msg.vbs
echo Set Speak=CreateObject("sapi.spvoice") >> msg.vbs
echo Speak.Speak Message >> msg.vbs
start msg.vbs
goto main

Is This A Good Question/Topic? 0
  • +

Page 1 of 1