Post: CODE: Simple Text-To-Audio creator
02-25-2011, 07:28 PM #1
<Jimbo>
</Jimbo>
(adsbygoogle = window.adsbygoogle || []).push({});
Simple VB code for a Text-To-Audio that, I came accross! :p

You must login or register to view this content.

I modified it a bit and then made it so it will repeat the message lots!

    Dim msg, sapi
msg=InputBox("NextGenUpdate Narrator! Beta","NGU T2A jimbo_123tonka","Thank you for using this code by jimbo_123tonka! Press OK to listen!!!" )
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg


That say's it once! ^^

    Dim msg, sapi
msg=InputBox("NextGenUpdate Narrator! Beta","NGU T2A jimbo_123tonka","Thank you for using this code by jimbo_123tonka! Press OK to listen!!!" )
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg


That say's it lot's! :p

So just copy and paste it into notepad and save it as .vbs file and then open it!!! Smile
Last edited by <Jimbo> ; 02-25-2011 at 07:39 PM.

The following user thanked <Jimbo> for this useful post:

xd366
02-25-2011, 07:43 PM #2
xd366
find me on twitter now
haha sick Happy. xD
02-26-2011, 08:50 PM #3
I paste this into notepad++ and it will work?!

Originally posted by 123tonka View Post
Simple VB code for a Text-To-Audio that, I came accross! :p

You must login or register to view this content.

I modified it a bit and then made it so it will repeat the message lots!

    Dim msg, sapi
msg=InputBox("NextGenUpdate Narrator! Beta","NGU T2A jimbo_123tonka","Thank you for using this code by jimbo_123tonka! Press OK to listen!!!" )
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg


That say's it once! ^^

    Dim msg, sapi
msg=InputBox("NextGenUpdate Narrator! Beta","NGU T2A jimbo_123tonka","Thank you for using this code by jimbo_123tonka! Press OK to listen!!!" )
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg
sapi.Speak msg


That say's it lot's! :p

So just copy and paste it into notepad and save it as .vbs file and then open it!!! Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo