Saturday, August 21, 2010

Hit Enter Key Continuously


    • Open Notepad.
    • Paste the following code in the notepad file:

Set wshShell = wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “~(enter)”

loop

    • Save the file with any name and .vbs extension and close it.
    • Now open the newly created file and see how the enter key behaves!

0 comments:

Post a Comment