Macro


(1) A symbol, name, or key that represents a list of commands, actions, or keystrokes. Many programs allow you to create macros so that you can enter a single character or word to perform a whole series of actions. Suppose, for example, that you are editing a file and want to indent every third line five spaces. If your word processor supports macros, you can create one that consists of the following keystrokes:

Move Cursor to Beginning of Line

Move Cursor Down 1 Line

Move Cursor Down 1 Line

Move Cursor Down 1 Line

Insert5 Spaces

Now you can enter the name of the macro, and the word processor will perform all these commands at once.

You can also use macros to enter words or phrases that you use frequently. For example, you could define a macro to contain all the keystrokes necessary to begin a letter — your name, address, and a code that inserts the current date. Then, whenever you write a letter, you just press the macro key to include the letter header.

In a way, macros are like simple programs or batch files. Some applications support sophisticated macros that even allow you to use variables and flow control structures such as loops.

(2) In dBASE programs, a macro is a variable that points to another variable where the data is actually stored. In most other applications, this would be called a link.

Read Also:

  • Macro Mode

    A setting on a digital camera that enables users to focus on subjects close to the camera lens. Macro mode is commonly used to photographing flowers, insects and other small items that you want a close-up view of. The distance you can shoot in macro mode from will differ between cameras. Some may be able […]

  • macro virus

    A type of computer virus that is encoded as a macro embedded in a document. Many applications, such as Microsoft Word and Excel, support powerful macro languages. These applications allow you to embed a macro in a document, and have the macro execute each time the document is opened. According to some estimates, 75% of […]

  • macrobend

    In fiber optic transmissions, macrobend is a large visible bend in the optical fiber that can cause extrinsic attenuation, a reduction of optical power in the glass. Contrast with microbend.

  • macrocell

    A macrocell provides the largest area of coverage within a mobile network. The antennas for macrocells can be mounted on ground-based masts, rooftops or other existing structures. They must be positioned at a height that is not obstructed by terrain or buildings. Macrocells provide radio coverage over varying distances depending on the frequency used, the […]

  • macromolecule

    A large complex molecule formed from simpler molecules.


Disclaimer: Macro definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.