Wednesday, January 12, 2011

Facebook's Built in Shortcut Keys

Today I want to share facebook's built in shortcut key.

Note: Mozzila Firefox user consider Shift + Alt instead of only Alt.

1)To Open Create New Message

         Shortcut Key is: Alt + m

 2)For Search Box

     Shortcut Key is: Alt + ?

  3)To open Home Page
                Shortcut Key is: Alt + 1

4)To open Profile Page

                Shortcut Key is: Alt + 2

5)To open Friend Request Tab

               Shortcut Key is: Alt + 3

6)To open New Message Tab

               Shortcut Key is: Alt + 4

7)To open Notification Tab

             Shortcut Key is: Alt + 5

Enjoy faster surfing on FACEBOOK....

Sunday, January 9, 2011

Automatic Save Your Document at Specified Period of Time

 In this post we will see  Automatic saving Documents , avoiding overhead of pressing Ctrl + s periodically.

It requires Autohotkey should to be installed, if yet not installed then click here.

·        Open Autohotey script form right side of taskbar, right click on Autohotkey icon(showing “ H ”) select  “ Edit this Script ”.

·        Copy below script and paste in to Autohotey script.

!S::                  ; indicates hotkey(Alt + S)                                                        
loop               ;continuously executes following code                               
            sleep 3000           ; send save at every 3 sec.
            send ^s                  ; send save command
            GetKeyState, state, F2 ; check if F2 is pressed                                 
if state = D  ;if key pressed then state=D else  U
             break                           ;Breaks the loop
return                     ;returns from hotkey excecution

·        Here D means Down(key pressed), U means Up(key not pressed)

·        Now save this file and “reload this script” by method as we selected “Edit this Script”.

·        And then open any document file or new one and press Alt+s your script will starts to run.

·        Press F2 to stop this script. Be careful while pressing F2 as script will not detect F2 when it sleeps. So you may need to press F2 more times to detect it in script running time. Or else You can just Exit from Autohotkey , after completing your task.

You can also starts to make such scripts from your ideas to “Simplify Windows”.

To get full document regarding Autohotkey script click here.

Friday, January 7, 2011

How to Enable Ctrl+V for Pasting in the Windows Command Prompt

           In this post I want to share about “how to make your own hotkeys for a specific task in windows?”         

You’ll need to first make sure that you’ve got AutoHotkey installed. Now run that program, it will prompt you to open default script click on “yes”.
You will find some default code written in it, just read it. Some syntax significance:
·       ^  is for “ctrl”
·       !  is for “Alt”
·       #  is for Window key
·       ; is for comments.
Now you need to copy the below code and paste in that script file. Then
#IfWinActive ahk_class ConsoleWindowClass
SendInput {Raw}%clipboard%
What this script does is simply use the SendInput function to send the data into the window, which is a lot faster than any other method . 

When this gets executed first it checks whether console is open or not, and then “^V::” is indicates when Ctrl + V is pressed execute next code.
To directly download this script  click here.

Some of the other basic tasks for which I have generated hot keys are:
·        Ctrl + up and Ctrl + Down in Command Prompt for scrolling.
·        Automatic save my document in specified period of time.
·        Move/Copy data from specified folder to other specified folder.
·        A hotkey to open specified folder/file.
·        A hotkey to run specified application.
·        A hotkey to open specified website.
·        And many more…
      The script for above task will be posted soon on this blog in  “Simplify Windows" Series.