Pages

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

Sunday, June 26, 2011

VS Shortcut Keys

No need to search Google for Visual Studio Shortcuts keys. You can get the Keyboard mappings by going to Tools –> Options –>Environment –> Keyboard.
ShortscutKeys
But there is an easy and well formatted way to get this. Some action has more than one shortcut key. Below is the Macro code for the same. Click here for details
   1:  Imports EnvDTE
   2:  Imports System.Diagnostics
   3:   
   4:  Public Module KeyboardShortcuts
   5:   
   6:      Sub ListKeyboardShortcuts()
   7:          Dim i As Integer
   8:          Dim j As Integer
   9:          Dim pane As OutputWindowPane = Utilities.GetOutputWindowPane("Commands")
  10:          Dim keys As System.Array
  11:   
  12:          pane.Clear()
  13:          pane.OutputString("<font face=arial>")
  14:          pane.OutputString("<table border=1 cellspacing=0 cellpadding=2 bgcolor=f0f0ff>" + Chr(10))
  15:          pane.OutputString("<tr><th colspan=2 bgcolor=d0d0e0>Keyboard Mappings</th></tr>" + Chr(10))
  16:          pane.OutputString("<tr><th bgcolor=e0e0f0>Action</th>")
  17:          pane.OutputString("<th bgcolor=e0e0f0>Key</th></tr>" + Chr(10))
  18:   
  19:          For i = 1 To DTE.Commands.Count
  20:              keys = DTE.Commands.Item(i).Bindings
  21:              If keys.Length > 0 Then
  22:                  pane.OutputString("<tr>")
  23:   
  24:                  'DTE.Commands.Item(i).Name() is sometimes blank.
  25:                  'We will print an m-dash in this case, as printing a blank table cell is visually
  26:                  'misleading, as such a cell has no borders, making it appear to be attached to
  27:                  'another cell.
  28:                  If DTE.Commands.Item(i).Name() <> "" Then
  29:                      pane.OutputString("<td valign=top>" + DTE.Commands.Item(i).Name())
  30:                  Else
  31:                      pane.OutputString("<td><center>&mdash;</center>")
  32:                  End If
  33:   
  34:                  pane.OutputString("</td><td>")
  35:                  For j = 0 To keys.Length - 1
  36:                      If j > 0 Then
  37:                          pane.OutputString("<br/>")
  38:                      End If
  39:                      pane.OutputString(keys(j))
  40:                  Next
  41:                  pane.OutputString("</td></tr>" + Chr(10))
  42:              End If
  43:          Next
  44:   
  45:          pane.OutputString("</table></font>")
  46:   
  47:      End Sub
  48:   
  49:  End Module


Run the Macro and copy the output and create a Html file. Below is my keyboard mapping for VS 2008:




Sunday, March 6, 2011

Most used Shortcut keys in Microsoft Outlook

Using keyboard shortcuts allow you to work more efficiently. Remember, using the keyboard is nearly always faster than using the mouse. I always love to work with shortcut keys (everyone likes). I have found some shortcut keys form microsoft.  You cannot remember all the shortcut keys unless you use them. Microsoft always provides the same key combination for copy, paste, delete…..etc. so these are common for every application in windows. So here are some most used shortcut keys we use daily:


Switch to MailCTRL+1
Switch to CalendarCTRL+2
Switch to ContactsCTRL+3
Switch to TasksCTRL+4
Switch to NotesCTRL+5
Switch to Folder ListCTRL+6
Switch to ShortcutsCTRL+7
Next item (with item open)CTRL+COMMA
Previous item (with item open)CTRL+PERIOD
Collapse/expand a group in the e-mail message listLeft and right arrow keys
AppointmentCTRL+SHIFT+A
ContactCTRL+SHIFT+C
Distribution listCTRL+SHIFT+L
FaxCTRL+SHIFT+X
FolderCTRL+SHIFT+E
Journal entryCTRL+SHIFT+J
Meeting requestCTRL+SHIFT+Q
MessageCTRL+SHIFT+M
NoteCTRL+SHIFT+N
new Office documentCTRL+SHIFT+H
Post in this folderCTRL+SHIFT+S
Search FolderCTRL+SHIFT+P
TaskCTRL+SHIFT+K
Task requestCTRL+SHIFT+U

With a group selected
Expand the groupENTER or RIGHT ARROW
Collapse the groupENTER or LEFT ARROW
Select the previous groupUP ARROW
Select the next groupDOWN ARROW
Select the first groupHOME
Select the last groupEND
Collapses the groupNUM -
Expands the groupNUM+
***********
SaveCTRL+S or SHIFT+F12
Save and Close, SendALT+S
Save AsF12
UndoCTRL+Z or ALT+BACKSPACE
DeleteCTRL+D
PrintCTRL+P
Copy itemCTRL+SHIFT+Y
Move itemCTRL+SHIFT+V
Check namesCTRL+K (using the Outlook e-mail editor)
Check spellingF7
Flag for follow-upCTRL+SHIFT+G
ForwardCTRL+F
Find itemsF3 or CTRL+E
Search for text in itemsF4
************
Reply to a messageCTRL+R
Reply all to a messageCTRL+SHIFT+R
Mark a message as not junkCTRL+ ALT+J
Display blocked external content (in a message)CTRL+SHIFT+I
Post to a folderCTRL+ SHIFT+S
Check for new mailCTRL+M or F9
Go to the next messageUP ARROW
Go to the previous messageDOWN ARROW
Go to the row above (message or group heading)ALT+ UP ARROW
Go to the row below (message or group heading)ALT+ DOWN ARROW
Compose a new messageCTRL+N
Open a received messageCTRL+O
Display the Address BookCTRL+SHIFT+B

For Calendar
AcceptALT+C
DeclineALT+D

To format text
Display the Format menuALT+O
Switch case (with text selected)SHIFT+F3
Add boldCTRL+B
Add bulletsCTRL+SHIFT+L
Add italicsCTRL+I
Increase indentCTRL+T
Decrease indentCTRL+SHIFT+T
Left alignCTRL+L
CenterCTRL+E
UnderlineCRTL+U
Increase font sizeCTRL+]
Decrease font sizeCTRL+[
CutCTRL+X or SHIFT+DELETE
CopyCTRL+C or CTRL+INSERT
PasteCTRL+V or SHIFT+INSERT
Clear formattingCTRL+SHIFT+Z or CTRL+SPACEBAR