Saturday, 15 December 2012

computer startup sounds

My computer say Welcome to me:

                                                      In this tutorial we are going to create such an application that speaks to you and will say you welcome at the every start up of your computer using Note Pad.

Step 1:

            Go to your Desk top , right click on desk top ,select New and then Select Text Document.

             

     Step 2:

                   This will open a new Text Document.
In this Text Document type the following code.

dim b
set b = CreateObject("sapi.spvoice")
b.speak"Welcome Mr Shakir, Its Good to see you again"
b.speak"Time is"
b.speak Time

Explanation:
       
dim b :
           creates a new Variable 

Set b:
           Set is used to change the property of the variable.
           In this program we Created a new object for speech library.

b.speak " Text ":
                             is used to speak the text typed after b.speak


Step 3:

               Go to File Menu and click on save as 
                this will show a save file dialog save
                Name it Welcome.vbs
                and click on all files in save as type.
                Then Click on Save.

                 

Step 4:

              Now copy this file

Step 5:

              Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP)
and to 
C:\Users\ {User-Name}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 8, Windows 7 and Windows Vista) 
if C: is your System drive. 

Step 6:

             paste this file in Startup folder.

Now when ever you run this application or restart your computer this will say welcome to you.
Best of Luck 
Kindly type a comment for any kind of question for suggestion.
Feel free to contact me at any time.







No comments:

Post a Comment