Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


June 25, 2002

Adding Hot Keys and Tool Bar Buttons

RSS
Subscribe to Windows IT Pro | See More Outlook 2000 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In last week's UPDATE, I shared Outlook's keyboard shortcuts for creating new items and launching key features. Although Outlook doesn't let you customize the keyboard layout as Microsoft Word does, you can create a few shortcuts of your own. The trick is that you need to add a toolbar command, then set a shortcut for the toolbar button.

For example, Outlook lets you press Ctrl+Shift+I to go to the Inbox and Ctrl+Shift+O to view the Outbox. But Ctrl+Shift+C doesn't display the Calendar or Contacts folder; instead, it creates a new item.

To create a toolbar button and shortcut to take you directly to the Calendar folder, right-click anywhere on the toolbars and choose Customize. On the Customize dialog box's Command tab, select the View category, then drag the command for Calendar to the toolbar, positioning it where you want your Calendar button to appear. The new Calendar button will show an underlined letter C to indicate that you should be able to press Alt+C to "click" the Calendar button. Close the Customize dialog box and try pressing Alt+C. Chances are that it won't work, unfortunately, because the Send/Receive button also uses Alt+C as its hot key.

Unless you want to study all the existing hot keys for menu and toolbar items to discover which letters aren't already in use, I suggest that you take a different approach and use numbers as the hot keys for launching Outlook folders. Right-click the toolbar and choose Customize again, then right-click the Calendar button. You should see that Outlook shows the button's name as &Calendar. The ampersand (&) preceding the letter C indicates that C is the hot key.

You can change both the name and the hot key. Type in 1- so that the new name for the button is &1-Calendar. Then close the Customize dialog box. You should now be able to press Alt+1 to launch the Calendar folder.

Have you written a Visual Basic for Applications (VBA) macro that you'd like to run without going through the Macros dialog box? With the Customize dialog box open, under Categories, select Macros and drag your macro to a toolbar. Macro names tend to be long and ugly, so right-click the macro button and change the macro's name. Add an ampersand to set a hot key if you use the macro frequently.

You can also build toolbar buttons to launch favorite Web pages without going to the Favorites menu. With the Customize dialog box open, hold down the Ctrl key as you drag any existing toolbar button to the position where you want your Web page launch button. (It doesn't matter which button you use because we're going to give it a complete makeover.) Right-click the button you just copied and give it a new name—with an ampersand to create a hot key if you like. Then, choose Assign Hyperlink, Open to display a dialog box in which you can enter any URL or browse to a folder or file on your system. After you enter the link, click OK, then close the Customize dialog box. Note that launching a page from the Favorites menu opens it in Outlook and launching the page from a custom toolbar button opens the page in your browser.

To back up all your toolbar customizations, make a copy of the outcmd.dat file. The location will vary, depending on your version of Windows and network setup, so probably the easiest way to find the file is to search the drive on which Windows is installed.

End of Article



Reader Comments
The only problem using numbers as shortcut approach is that the number are taken when inside the calendar. They are used as shortcuts to how many days to display in your view.

Stephan Grubbe February 12, 2003


This Rocks and is just what I was looking for!! Thank you so much!!!

Anonymous User October 19, 2004 (Article Rating: )


Back to Stephan's point...

If you hit Alt-G first and then the Alt-1, or Alt-2 that will work.

The Alt-G gets the focus on the hotkeys/toolbar instead of the days I think. Works for me.

Anonymous User October 19, 2004 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Getting your iPhone to Sync with Exchange 2003

Follow these steps to use an iPhone with Exchange. ...


Exchange Server and Outlook Whitepapers Email Controls and Regulatory Compliance

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Top 5 Key Technologies Changing The Face of Exchange and Data Protection

Bail Out Your Exchange Environment

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement