Sunday, 27 November 2016

Automate Typer

Set wshshell = wscript.CreateObject(”WScript.Shell”)

Wshshell.run “Notepad”

wscript.sleep 400

wshshell.sendkeys “H”

wscript.sleep 100

wshshell.sendkeys “i”

wscript.sleep 200

wshshell.sendkeys ” ”

wscript.sleep 200

wshshell.sendkeys “I”

wscript.sleep 200

wshshell.sendkeys ” ”

wscript.sleep 100

wshshell.sendkeys “a”

wscript.sleep 100

wshshell.sendkeys “m”

wscript.sleep 200

wshshell.sendkeys ” ”

wscript.sleep 100

wshshell.sendkeys “a”

wscript.sleep 100

wshshell.sendkeys “”

wscript.sleep 100

wshshell.sendkeys “V”

wscript.sleep 100

wshshell.sendkeys “B”

wscript.sleep 100

wshshell.sendkeys “S”

wscript.sleep 100

wshshell.sendkeys “”

wscript.sleep 200

wshshell.sendkeys ”c”

wscript.sleep 100

wshshell.sendkeys “o”

wscript.sleep 100

wshshell.sendkeys “d”

wscript.sleep 100

wshshell.sendkeys “e”

wscript.sleep 100

wshshell.sendkeys “”

wscript.sleep 100

wshshell.sendkeys “!”

wscript.sleep 100

wshshell.sendkeys “!”

wscript.sleep 100

wshshell.sendkeys “!”


Save it as Learnfromzero.vbs 
Share:

0 comments:

Post a Comment