Showing posts with label Shortcut keys. Show all posts
Showing posts with label Shortcut keys. Show all posts

Saturday, 27 December 2014

Keyboard Light Turns into Disco Light..

Keyboard Light Turns into Disco Light..

This is really amazing, With this trick keyboard Led’s would start to act like Disco light. This trick can also be used as prank, try fooling your friends with this trick. Basically, This is a small program written in
vbscript which will make keyboard led to blink and will continue unless you stop it. The code not only blink the led light but also change its states of caps, scroll and num lock to Off and On. So when you would try to write something you would see strange behavior and you won’t be having any control on caps, num and scroll lock. Instructions:

1.)  Open Notepad, Go to Start => Run => Type Notepad and press Enter.






2.) Copy the below code and paste in Notepad like this.





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

3.) Now save the file with .vbs extension, e.g. save file as disco.vbs




4.) Now execute the file by double clicking, you may see keyboard led to start blinking like disco light.





How to Stop this?

To stop this vbscript program, you may simply need to end this script program from task manager.
1.) Go to Task Manager, Right Click on Task bar and Select Task manager.

2.) In task manager(Just press Ctrl + Shift + Esc), go to “process” tab

3.) Now locate "wscript.exe" and select it and Click on “End Process”.






Sunday, 25 May 2014

Create shortcut keys to Log Off, Shutdown, Restart, Hibernate and Lock Computer.

You can Log Off, Shutdown, Restart, Hibernate and Lock Computer from Start Button easily, But you can also create shortcut to do the specific operations.

1. Create a shortcut on Desktop by Right Clicking on Desktop and then choose New and then Shortcut.




2. Now type the following commands

To shutdown : 
shutdown /s

To log off : shutdown /L
    To restart : shutdown /r
      To hibernate : shutdown /h
        To Lock Computer(Same as Windows+L) : rundll32.exe user32.dll,LockWorkStation



        3. Now type the name of the shortcut, e.g i used command to shutdown computer so here i am using shortcut name as Shutdown Laptop.


        4. Now click on Finish button. Now a shortcut to shutdown computer has been created on your desktop. Simply click on the shortcut to shutdown your computer.






        How to Create Shortcut key to open any Application Software

        I use internet all the day and my favorite Web Browser is Google Chrome so whenever i power on my laptop i start Google Chrome and then my favorite websites with new Gadgets and Technology Updates. By opening Google Chrome from start button or from desktop shortcut, we can also create shortcut key to open any Software Application from our Computer.


        • Right click on the Application Shortcut and Choose Properties. here i am creating shortcut of MS-Word.



        • Under Shortcut Properties Click on the textbox of Shortcut Key: and then press any key combination which you want to use for MS-Word. If shortcut key will be available then it will be assigned otherwise windows automatically assign the combination for your ease, So it could not create any conflict in pre assigned shortcut keys.