Follow the following steps to get you computer say welcome on start up.
Make your Computer Welcome You
1. Open Notepad. (Go to 'Start' then search for 'Notepad' and open it)
If you want your computer to welcome you then use below code:
Dim speaks, speech
speaks="Welcome, Username"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
speaks="Welcome, Username"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
If you want your computer to welcome you and greet you with morning, afternoon, evening then use the below code:
Dim speaks, speech
speaks="Welcome, Username"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
dim str
if hour(time) < 12 then
Sapi.speak "Good Morning"
else
if hour(time) < 16 then
Sapi.speak "Good afternoon"
else
if hour(time) > 16 then
Sapi.speak "Good evening"
else
Sapi.speak "Good afternoon"
end if
end if
end if
speaks="Welcome, Username"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
dim str
if hour(time) < 12 then
Sapi.speak "Good Morning"
else
if hour(time) < 16 then
Sapi.speak "Good afternoon"
else
if hour(time) > 16 then
Sapi.speak "Good evening"
else
Sapi.speak "Good afternoon"
end if
end if
end if
➤ You can replace texts denoted in red in the above codes with whatever you want to hear. Replace the text Username in the above code with your name and can hear your name on every start up.
3. Now click on 'File Menu' in Notepad, then click on 'Save' (If it is already a saved file then click on 'Save As'), select 'All Types' in Save as Type option, and save the file as 'Startup.vbs' or any name you want with ".vbs" extension.
➤ Navigate to C:\Documents and Settings\All Users\Start Menu\Programs\Startup (in Windows XP)
Navigate to C:\Users\ComputerName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup (in Windows 10, Windows 8, Windows 7 and Windows Vista) (if C: is your System drive.). AppData is a hidden folder. So, you will need to select showing hidden folders in Folder options to locate it.
➤ Press Windows key+R and type shell:startup in the Run dialog box and press OK or Enter. The "Startup" folder will open up.
➤ Go to "Start" and click on All Programs then scroll down and find "Startup" folder and right click on it then click on Open, and the Startup folder will be opened.
4 Comments
Cool thing
ReplyDeleteYessss
DeleteThis post provides clear idea in favor of the new visitors of blogging, that actually
ReplyDeletehow to do running a blog.
Great post, I think blog owners should larn a lot from this site its real user pleasant.
ReplyDeleteSo much wonderful information on here :D.