March 20, 2010

macro

Last modified: Friday, June 27, 2003 

(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

Insert 5 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.

Sponsored listings

Macro Program With Task Scheduler - Offers macro software that will automate and schedule personal and professional tasks, generate reports, and check inventory.

  Related Links

WordPerfect Wiz site 
A very good resource for WordPerfect users. This site offers information on macros and forms, sample macros, tips and techniques, services and training information, and links to related resources.

Computer Virus Myths
Contains information about the newest hoaxes as well as background on computer viruses and myths, opinions and editorials, and recommended books and Web sites.

Keyboard Express
Describes a Windows keyboard macro utility called Keyboard Express from Insight Software Solutions, Inc.

Related Categories

Programming

Related Terms

AppleScript

batch file

command

dBASE

link

macro virus

mutex

program

Shopping
macro Products
Compare Products,Prices and Stores

Shop by Category:
Camera Lenses
2859 Store Offers

Photography Accessories
1298 Store Offers

Security Solutions