A macro allows you to execute commonly-used IDL tasks with the press of a mouse button or through a single keystroke ("hot key") combination. In IDL you can create your very own macros using:
For example you may customize and extend the functionality of the IDL Development Environment (such as writing a procedural macro to change IDL's working directory, which we will see later in this section).