A Notepad that writes on it own is for sure a very weird thing but very funny in the same time. And if you change the icon of the file you create with the Notepad's, and replace the Notepad icon from your friend's computer with this file for sure you will create a great prank.
1. Open Notepad.
2. Copy this script in Notepad:
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "H"
WScript.Sleep 500
WshShell.SendKeys "ell"
WScript.Sleep 500
WshShell.SendKeys "o "
The little program will make your Notepad type "Hello". You can always make your custom message by replacing the letters between the " " signs with the ones you want.
You can add more lines like the following ones for more letters:
WScript.Sleep 500
WshShell.SendKeys "insert here your letter of group of letters "
3. Now save the file. Go to File->Save as. Type the name of the file with the extension .vbs. For example if you want to choose the name Notepad, type Notepad.vbs. Also be sure that File type is All files not Text file!
The file will look like this.
4. When you doubleclick on it, Notepad will start typing letters.
Don't forget to comment about this post and my blog and tell me if you liked it and if I get your responses I'll bring you some more cool tricks...!
1. Open Notepad.
2. Copy this script in Notepad:
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "H"
WScript.Sleep 500
WshShell.SendKeys "ell"
WScript.Sleep 500
WshShell.SendKeys "o "
The little program will make your Notepad type "Hello". You can always make your custom message by replacing the letters between the " " signs with the ones you want.
You can add more lines like the following ones for more letters:
WScript.Sleep 500
WshShell.SendKeys "insert here your letter of group of letters "
3. Now save the file. Go to File->Save as. Type the name of the file with the extension .vbs. For example if you want to choose the name Notepad, type Notepad.vbs. Also be sure that File type is All files not Text file!
The file will look like this.
4. When you doubleclick on it, Notepad will start typing letters.
Don't forget to comment about this post and my blog and tell me if you liked it and if I get your responses I'll bring you some more cool tricks...!
No comments:
Post a Comment