Windows Guides Feed

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...

Free PC tips by email

Search Windows Guides




Comments

  • Rstan66

    This is about as cool as anything i have seen in a loooong time,
    thanks a ton.

  • Tom

    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.

    • Anonymous

      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 ;-)

  • sergiogarcia9

    Awesome!
    I got my PC to say “Access Authorized” everytime i login :)
    Good stuff

  • Uvais(forum.Mintywhite.com)

    Wow!!!!!!!!!!!!!!!!!!!!!!! its superb i luv it:)

    Thnx Thomas;) n Rich too:)

  • Cassy

    Interesting!

  • Rileywash

    This is pretty cool. Is there anyway to change the voices in Windows?

    • Anonymous

      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 :-)

  • Pingback: Let your Computer say Welcome on startup! | The customize Windows()

  • Prabhatdoley

    great ……it works

  • Gdsouza53

    i dint get the startup folder

  • Kotesh Javvaji

    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


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Enter your email address:
 

Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook