Make your computer say what you want

Just a basic code to tell your computer to say what you want it to say 

first open up notepad, then type the code below in exactly as it is 

Dim message, sapi
message=InputBox(“What do you want me to say?”,”Speak to Me”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message

then go to file>save as and make sure you select all files then name it what you want to and don’t forget to put .vbs at the end

so my file was called speak.vbs and your computer will say what you write

so save to your desktop and try it out  🙂

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: