Writing Macros for the Editor |
|
You may want to write an editor macro to customize aspects of the Editor window, and to automate lengthy or frequently used sequences of commands.
Macros are written using a combination of REXX commands and Editor commands and parameters. Macros used by the Editor, along with other example macros, can be found in the macros directory. You can use these system macros as a guide when creating your own macros, as follows:
Note: A profile is a special type of macro.
Note: Unless you issue a sshow command, the Editor does not refresh information displayed in the Editor window until after a macro finishes running.
See the repeats sample macro for a detailed example of how to create a macro.
Macros and Profiles Using Profiles to Modify Editor Behavior repeats sample macro |
|