Wednesday 1 June 2016

Its Magic.Lets dance the computer keyboard with code.

 copy and paste the following code in notepad and save with  <name>.vbs . example- dancing.vbs and double click on it to see the magic on keyboard.

Set wshShell =wscript.CreateObject("
WScript.Shell")
    do
    wscript.sleep 100
    wshshell.sendkeys "{CAPSLOCK}"
    wshshell.sendkeys "{NUMLOCK}"
    wshshell.sendkeys "{SCROLLLOCK}"
    loop 



Recovery to previous state-- Just restart your system
Note-- Content writer does not take any kind of responsibility to any damage for your software/hardware.Try above code completely on your risk..

No comments:

Post a Comment