Explain what is a macro? – Concept of the day.
May 29, 2009 by admin
Filed under Short Computer Articles, Short Technique Articles, Short Technology articles, Softwares and Tools
A macro is a series of keyboard strokes recorded by an application. These keystrokes often represent commands within a piece of software which are combined to reduce the work needed to perform the functions. Macros are then stored within the application to allow for repeated use.
When recording a macro within an application like Microsoft Word, the keyboard strokes or commands get bound to a shortcut key or stored within a toolbar making them accessible via the mouse. Then the saved sequence of commands can be executed simply by clicking a tool bar button or pressing the assigned keys.
Suppose a Microsoft Word user was looking for a quick way to save a document and then exit Word. This could be recorded within a macro to combine the save action and the exit action as follows using Microsoft Word 2003:
From toolbar select “Tools>Macro>Record New Macro” .Once the record macro object has been clicked, a dialog box appears which allows the user to provide a name for the macro and to assign the toolbar button or keyboard shortcut that will trigger the macro. Usually when assigning a keyboard shortcut for a macro, the control, shift, or alt keys are pressed in combination with the key being assigned. The modifier keys, control, shift, and alt, can also be pressed together in any combination with a key. The idea is to keep the macro keyboard strokes as simple as possible to allow for easily repeated use.
Now : (1) Enter a name for the macro (2) Assign the keyboard strokes or tool bar selection that will trigger the macro, for this example choose Ctrl + Alt + X (3) Click OK
Then the actions which will make up the macro need to be performed so they can be saved. In the example provided here,we should select File option from toolbar and then save the document , followed by closing the document using ‘Exit’ in the ‘File’ option.
After the actions have been performed, the user would select the stop recording option from the Tools>Macro>Stop Recorder. This would prevent further actions from being recorded and save the macro for future use.
Once a macro has been created, it can be used to quickly perform the saved sequence of commands assigned to the shortcut key. In our save and exit example, pressing Ctrl + Alt + X will save the current document and exit the Microsoft Word application.
Another thing to keep in mind when assigning shortcut keys is to be careful not to overwrite selections already in use, like Ctrl + S which controls the Save action by default. When a key combination is tried, the existing action is displayed to let the user know that the keyboard strokes they are trying to use for a macro are already used by the application. It is always best to combine Ctrl with Shift or Alt when assigning keystrokes to a new macro to avoid removing existing useful macro shortcuts.
Related posts:
- Explain stuff – Blue Screen – Fascinating concept of the day Bluescreen has become such a sophisticated technique that it is now virtually impossible to tell the difference between special effects and real film locations. The...
- What is Data Mining? What? How? Can? Explainstuff – Concept of the day. ExplainStuff.com jumps into a technical sector and explains about what Data Mining is and how it is used and can it be used to counter...
- Some fascinting Mind Blowing facts – Explain stuff – Facts of the Day This is a small list of a few mind blowing facts. These are 15 facts. http://www.explainstuff.com explains facts or posts concepts everyday and explains them....
- What is a Live CD? Explainstuff – fact of the day A Live CD is a bootable compact disk that contains its own Operating System (OS). Booting to a Live CD allows a user to try...
- What is ‘Muscle Memory’? – Explain Stuff – Unconscious Scientific concept of the day. Muscle memory can best be described as a type of movement with which the muscles become familiar over time. For instance, newborns don’t have muscle...
- Explain Stuff – What is perl? Perl (Practical Extraction and Reporting Language) , is an interpreted programming language with a huge number of uses, libraries and resources. Arguably one of the...

I like the way you write! Nice blog.