Saturday, August 11, 2012

Windows 7 can Welcome with Voice Message during Logon

Your Windows 7  PC can welcome you with an audio voice message when you logon with your username. Yes, you can setup the voice welcome facility by simple addition in your PC without any additional software.  PC performs a voice message like “Hey Himmat, Welcome to your Windows PC” at the time of logon. You can set a message of your choice as well.
Steps:
1. Copy below mentioned code and paste in a notepad
strText = "Hi Himmat Welcome to your computer"
Set objVoice = CreateObject("SAPI.SpVoice")
objVoice.Speak strText



2. Save the file as .vbs file with any name of your choice, for example "test.vbs" file in double quotes

3. In place of “Hi Himmat Welcome to your computer”, you can write any message of your choice.

4. Now move the .vbs file into “startup” folder. You can get the startup folder by right clicking on the “Windows button” i.e. Start button on PC and select explore. Once you moved the test.vbs file over there, you can restart your computer and hear the message at the time of logon.

Location of Startup folder in Windows 7,
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

No comments:

Post a Comment