NotePad Fun in Windows | Some NotePad Hacks


Hi Dears how are you All. 
Today we are doing some fun with our friends.we create some .vbs or .bat file for some fun.
we create .vbs file for Greeting Welcome Speaking Message with name. This Script auto run when i start my Laptop/Cpmputer and also we know about our Laptop Gender :-P and we create a personal Notepad diary. After that we create come .bat file too. 
LetsStart
NotePad fun
1:  Welcome PC
    Open a notepad and paste the code bellow.

Code Start:
Dim msg, sapi
Set sapi = createObject("sapi.spvoice")
Set sapi.Voice = sapi.GetVoices.Item(1)
sapi.Speak "Welcome to PC Mr LifeHacks"
If you face any issue in Win 7 or xp then you use bellow code..
Dim Speak, speech speaks="Welcome to your PC Tariq Khan" Set speech=Createobject("Sapi.spvoice") speech.Speak speaks
.and save the file name "welcomePC.vbs"
Don't forget the .vbs extesion.


2:Speak Computer
If you want to make a file where you can type any word and Computer pronounce that word.
This is very amzaing, Lets try it
Copy the bellow code paste in NotePad and save the file name : Speak Computer.vbs
Dim Message, Speak
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message
3: PC Gender
Do you know about your Computer Gender? NO?
Its not a problem. We can check our Computer gender using vbs code.
Copy bellow code and paste it on a NotePad file and save the file with name: PC Gender.vbs
CreateObject("SAPI.SpVoice").Speak"Hello How Are You, Iam your PC , Nice to meet you."
4:
















.

Post a Comment

0 Comments

About