English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I looked it up and the definition is too technical. I would like someone to simplify it for me. Thanks

2007-05-04 04:44:46 · 8 answers · asked by Christy 1 in Computers & Internet Programming & Design

8 answers

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, 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.

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

2007-05-04 04:50:14 · answer #1 · answered by Mandeep 3 · 0 0

A macro in most cases is a list of commands, recorded for a program, perhaps with the ability (if the program's macro language lets you do it) to include "variables".

For example, an Office macro might be, first, the "command" to "Select" the first, third, and fifth page of a file, then change all the paragraphs to one font-size larger and do some other things, in sequence, to each thing on *only those selected pages*?

This might be handy due to the fact that you could apply the same series of commands to a different document, whenever you need the same series of commands, say, whether you edit a document today, tomorrow, or someday next year. It could save you a lot of clicking and typing.

2007-05-04 11:57:38 · answer #2 · answered by fjpoblam 7 · 0 0

best way to explain a macro in programming terminology is to consider it a function. when a macro is called it performs what ever code has been inseted in that macro then the macro is unloaded, very similar to a function or procedure.
a good example of what a macro can do,
say you have a business document,
every time you open that business document you enter a bunch of header information then proceed with the body,
you can create a macro to create a personalized header each time your document opens.

2007-05-04 11:54:13 · answer #3 · answered by math guy 2 · 0 0

A mini-program which will execute a series of commands in series, saving the user having to repeat typing or data input. Macros are typically created to perform frequently used tasks.

2007-05-04 11:48:04 · answer #4 · answered by ♠Brian♠ 3 · 0 0

Macros are pre designed for multiple action(command) to be taken on a document of MS Office. In normal way we call it a batch program processing as in Photo shop.

2007-05-04 11:52:23 · answer #5 · answered by Anonymous · 0 1

The only way I know to describe this is when you are doing a large mailing for example and you use the macro to tell the computer to draw from your list of names and addresses and add it to the form letter you are sending out. This way you do not have to do each individually.

2007-05-04 11:49:50 · answer #6 · answered by Kiwi 5 · 0 1

It depends on what kind of macro you're talking about.

http://en.wikipedia.org/wiki/Macro

What you're probably referring to are the macros in Microsoft Office. These are small scripts that you can have linked to keyboard shortcuts that you use to automate things for you.
http://www.pcworld.com/article/id,74944-page,1/article.html

These are also used in things like WoW to automate actions.
http://wow.azzor.com/161/macros.php

2007-05-04 11:51:41 · answer #7 · answered by Chris S 5 · 0 0

basicly its a program that does the same task (including user inputs) over and over again. its good for repetive tasks, but most online game disigeners hate them

2007-05-04 11:48:17 · answer #8 · answered by zspace101 5 · 0 1

fedest.com, questions and answers