A set of keystrokes and instructions recorded and saved as a key combination (such as CTRL + X) or file name. When the macro is used, all of the recorded steps are performed automatically. Macros save time by replacing a series of frequently performed steps with a simple key combination or name.
— Computer ScienceA file containing a sequence of instructions that can be executed as one command. These commands can be in the form of a key, symbol or name. As an example, one symbol could represent a predefined list of commands.
— Computer Science