Jump to content

make your pc talk with notepad!


K4rMa

Recommended Posts

Open a text file in notepad and write:

 

Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg

 

Save the file with a (*.vbs) extension, it will create a VBScript File.

It will prompt you for a text when u open the file, input the text and press ok."

 

u will hear what u typed

 

this works in xp,may be in vista also.

 

Link to comment
Share on other sites

on my windows xp when i try to save with this extension *.vbs dont save me can youtell me what seems to be the problem?

 

If you go to save as *.vbs don't can save them... You must write one name in the position of *

Write Speak.vbs and you can save them ok!

Link to comment
Share on other sites

on my windows xp when i try to save with this extension *.vbs dont save me can youtell me what seems to be the problem?

you must do format .vbs  i test Wnn XP sp2  work perfect sens man

Link to comment
Share on other sites

u chose the option safe as...

and then

u tipe this

assfddfdsf.vbs

 

p.s. u dont tipe "assfddfdsf" this is just an example u mast save ur file and in the end must has .vbs

 

Thanks.

 

OMFG Karma it works god damn it..It is like "Mangeta Talk To Me" LOL it rocks..Thanks dude ;)

 

Edit: Can I change the tone of the voice that Is talking??

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...