![]() |
Platforms, Frameworks & Libraries »
.NET Framework »
How To
Beginner
License: The Code Project Open License (CPOL)
How To Get the Most Out Of MacrosBy Amol M VaidyaHere, I will explain some of the best ways to get the most out of the macros in Visual Studio. |
Windows, .NET 1.1VS.NET2003, VS2005, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
We all know that macros are a programmers "Donkey". Most of the redundant tasks should be converted to macros. Here, I will show a simple way to get a little bit more out of these macros. Assigning hot keys / keyboard shortcuts to your favourite macros can save you a lot of time.
Imagine you have to get the sliding Macro Explorer into view everytime you wish to run a macro. Trust me, this is painful on most slow machines (which incidentally happen to be many.... especially those allotted to programmers).
I will not go into the details of recording or creating a macro. I will concentrate only on making them much more accessible.
Like many others, I love the macro facility in Windows applications. It makes life a lot easier. Let's consider a scenario wherein we are coding in Visual Studio.
I have many macros in my kitty. Everytime I need to run a macro, I call for the Macro Explorer (Alt + F8). Here I just double click on the required macro and it is executed.
To improve my efficiency, I decide to assign some hot key to my favourite macro.
Here is how I can do it. In Visual Studio, click on Tools -> Options.
The options dialog is displayed. Here click on Keyboard. This is what it will be like:

I have numbered the important controls in the above dialog.

![]()
That's all, when you want to execute your favourite macro, just reach for the defined keyboard shortcut.
| You must Sign In to use this message board. | |||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 27 Sep 2007 Editor: Deeksha Shenoy |
Copyright 2007 by Amol M Vaidya Everything else Copyright © CodeProject, 1999-2009 Web22 | Advertise on the Code Project |