
Ever wondered how to make your keyboard light blink like disco lights or glow in a sequence like Diwali lights glow? You can do this by just writing a simple Visual Basic script. Don’t worry I will provide the script, and all you have to do is copy and paste. That’s it and you can turn your ordinary keyboard into disco lights enabled keyboard. 
Copy the following script into a notepad, then save that file with an extension “.vbs” (Visual Basic users may already be familiar with it). After that just double click on the new file, with a script like icon and you can see the magic, lights will start glowing in a sequence or randomly.
For random glowing of lights
Copy the following script into a notepad, then save that file with an extension “.vbs” (Visual Basic users may already be familiar with it). After that just double click on the new file, with a script like icon and you can see the magic, lights will start glowing in a sequence or randomly.
For random glowing of lights
Set wshShell =wscript.CreateObject(“WScript.Shell”)
dowscript.sleep 100wshshell.sendkeys “{CAPSLOCK}”wshshell.sendkeys “{NUMLOCK}”wshshell.sendkeys “{SCROLLLOCK}”loop
For glowing in sequencedowscript.sleep 100wshshell.sendkeys “{CAPSLOCK}”wshshell.sendkeys “{NUMLOCK}”wshshell.sendkeys “{SCROLLLOCK}”loop
Set wshShell =wscript.CreateObject(“WScript.Shell”)dowscript.sleep 200wshshell.sendkeys “{CAPSLOCK}”wscript.sleep 100wshshell.sendkeys “{NUMLOCK}”wscript.sleep 50
wshshell.sendkeys “{SCROLLLOCK}”loop
To end this disco of lights, you need to end a process called “wscript.exe”, for ending the process open Task Manager and end process the required process.wshshell.sendkeys “{SCROLLLOCK}”loop
No comments:
Post a Comment