Knowledge Walls
Vinoth
Hyderabad, Andhra Pradesh, India
How to make Funny Tricks in Windows of Computer
828 Views
Make Notepad type Automatically 
You can show it to your friends and surprise them. Basically it is a prank that you can do with anyone.

Simple steps to Learn Ghost Keyboard Typing 
Code:

set wshshell = wscript.CreateObject(“wScript.Shell”)
wshshell.run “Notepad”
wscript.sleep 400
wshshell.sendkeys “S”
wscript.sleep 100
wshshell.sendkeys “M”
wscript.sleep 120
wshshell.sendkeys “A”
wscript.sleep 200
wshshell.sendkeys “R”
wscript.sleep 100
wshshell.sendkeys “T”
wscript.sleep 140
wshshell.sendkeys “T”
wscript.sleep 100
wshshell.sendkeys “R”
wscript.sleep 50
wshshell.sendkeys “I”
wscript.sleep 120
wshshell.sendkeys “C”
wscript.sleep 170
wshshell.sendkeys “K”
wscript.sleep 100
wshshell.sendkeys “S”
wscript.sleep 50
wshshell.sendkeys “.”
wscript.sleep 120
wshshell.sendkeys “N”
wscript.sleep 160
wshshell.sendkeys “E”
wscript.sleep 200
wshshell.sendkeys “T”
wscript.sleep 100
Step 1: 
Right click on your desktop and select create new text document or simply Open Notepad.
Step 2: 
Exactly Copy the code given below and Paste it in notepad document that you have just created.
Step 3:  
Save the above code in Notepad file As ” smarttricks.vbs ” (Without Quotes ) but make sure  While saving this file select Save as type  ”All files” and extension must be .vbs
Step 4:  
Now double click on The saved File, You will see “SMARTTRICKS.NET ” will be typed  Automatically. Moreover  you can edit the Words In the above given Code with any desired words you want Notepad to type for you. e.g. : MY FRIEND READING THIS IS FOOL..vb
Note: 
While Double Clicking on the saved file if you see an error box like “ line 1 ” and “Char 37” Then dont worry, Right click on smarttricks.vbs and click on edit,
Now delete all Double quotations ie : ”  and Type them all manually from your keyboard, save it and now you will have no errors.
Next Topics
Next lessons of current book.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details