Wednesday, 19 March 2014

Make Notepad Type Automatically

10:12 am

Share it Please
This is a small trick for type notepad automatically.

Step 1: Open Notepad
Step 2: Cope and Paste the following code to notepad.

set wshshell = wscript.CreateObject("wScript.Shell")
wshshell.run "Notepad" 
wscript.sleep 400
wshshell.sendkeys "Hi "
wscript.sleep 200
wshshell.sendkeys "This "
wscript.sleep 200
wshshell.sendkeys "is "
wscript.sleep 200
wshshell.sendkeys "automatic "
wscript.sleep 200
wshshell.sendkeys "typing "
wscript.sleep 200
wshshell.sendkeys "program "
wscript.sleep 200
wshshell.sendkeys "by "
wscript.sleep 200
wshshell.sendkeys "C"
wscript.sleep 200
wshshell.sendkeys "S"
wscript.sleep 100
wshshell.sendkeys "E"
wscript.sleep 100
wshshell.sendkeys "S"
wscript.sleep 150
wshshell.sendkeys "P"
wscript.sleep 100
wshshell.sendkeys "Y"
wscript.sleep 160
wshshell.sendkeys "."
wscript.sleep 160
wshshell.sendkeys "C"
wscript.sleep 160
wshshell.sendkeys "O"
wscript.sleep 160
wshshell.sendkeys "M"

Stpe3: Save file As "Tricks.vbs" and close the notepad.

Step4: Now double click Tricks.vbs file. It will type text automatically.


0 comments:

Post a Comment