Welcome to NikTricks

The World of Tips and Tricks

Showing posts with label VB scripts. Show all posts
Showing posts with label VB scripts. Show all posts

January 22, 2012

Keyboard Disco Light

Friends this is just a small trick that will just make your dance means its lights will go like disco lights of a midnight club.your keyboards light goes in rhythmic way it too cool u try and make fun .These codes when executed makes your Caps, Num, Scroll lock keys flash..
very cool...i hav tried it...


1.This piece of code makes ur keyboard a live disco...
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop

2.This one makes it looks like a chain of light....
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop


Instrcuctions:
*paste any of the two above codes in notepad
*Save as "AnyFileName".vbs
*Run the file
*to stop, launch task manager and then under "Processes" end wscript.exe
I hope u would like it...

PC restart error for fun


Cool VB Script for Fun

Now Follow steps:-

1. open NOTEPAD

2. paste the code given below:-

        Do
        x=msgbox("Windows Protection error: D556d5. Please restart your computer",21,"Error")
        loop

3. save notepad file with niktricks.vbs

4. now run that file.

>How to close that error file?

1. open Task Manager
2. click on processes
3. now find "wscript.exe"
4. highlight that process and click on "End process"

5. Done!!!!



Related Posts Plugin for WordPress, Blogger...

Blogroll