We’re always seeing it on TV: John Doe logs onto his computer and the computer says “Welcome, John.”
Here’s how to make your computer greet you, upon your return.
Write a simple script…
It’s actually pretty easy and you don’t have to buy or even download any software to do it. Just open Notepad and type the following text:
Dim speaks, speech
speaks="Welcome, John"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
Replace the text “Welcome, John
” with anything you like. Remember to use punctuation to get the pronunciation more correct.
Save the file with the .vbs extension (Greetings.vbs) and put it in the Startup folder.
Now, each time you log on, you will be greeted by Microsoft Anna (or John, depending on your windows version).
Fun Tip!
Create one for a unknowing friend (“Oh No, Not YOU again! Please Log Off now!”), place this on his or hers computer, and enjoy the reaction.
Additional Settings
The Voice Properties have several settings:
.Pause
= pause speaking
.resume
= resume after pause
.Rate
= speed at which voice speaks. The larger number, the faster pitch.
.Voice
= you can use set and a voice value to change the voice (if multiple exist on machine)
.Volume
= volume of voice (not system volume, just voice). The number is Percentage.
.WaitUntilDone
= wait until done – you get the idea.
You may add these settings like this:
with speech
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = 0
end with
If you only want to add one setting you can also do it like this: speech.volume=50.
Add the settings before the last line.
About Thomas
Computer geek from the age of 7, which amounts to 30 years of computer experience. From the early days (when every computer company had their own OS) of DOS, Windows 1.0 through Seven...
This is about as cool as anything i have seen in a loooong time,
thanks a ton.
Where and how can I locate the startup folder in windows 7?
Open up My Computer and, in the address bar, type:
%ProgramData%MicrosoftWindowsStart MenuProgramsStartup
Press Enter.
You can also find it by clicking the Start-Button, choose “All Programs” and you will find it as a folder. Right Click it and choose Open or Explore.
In case Ricks tip don’t work ;-)
Awesome!
I got my PC to say “Access Authorized” everytime i login :)
Good stuff
Wow!!!!!!!!!!!!!!!!!!!!!!! its superb i luv it:)
Thnx Thomas;) n Rich too:)
Interesting!
This is pretty cool. Is there anyway to change the voices in Windows?
In Windows 7 and Vista the default Voice is Anna.
in Windows XP (and 2000) the Voice is Sam.
The voices installed depend on your OS Language.
New voices are not available as individual installs. There are 3rd party voices available for purchase.
In Vista and 7, you can choose between the default voice(s) and change pitch, volume and read speed, by Clicking the Start-Button, and type “Narrator” in the search field. You should then see “Change The Narrator Voice”.
In XP (and 2000) you have to do a registry hack to be able to change anything. You can find some information here: http://www.webbie.org.uk/changingNarratorToUseADifferentSAPI5Voice.htm
I will gather some more information on the subject in an article if you have the patients to wait for it :-)
great ……it works
i dint get the startup folder
Why don’t you just change the wav file of logon,, as it is more simpler than writing a script,, and you can download variety of sounds from internet