The Macros window contains a Macros List
, which contains all loaded macros,
a Macros Editor
, which allows to write new and edit existing macros,
and a Status List
, which shows a trace of all macro operations of the current
XReplace-32 session.
To create a new macro, use the Macro | New
command. This will add a new tab, such as
New Macro 1
to the Macros List. Edit this new macro in the Macro Editor.
To save this macro into a file, use the Macro | Save As
menu item.
To close a macro, use the Macro | Close
command, you will be prompted if the
macro has not been saved. You can also delete, save all and close all macros.
A macro can be checked for syntax or otherwise, compiled
. This will not execute the macro,
but will find eventual mistakes and typos. To compile a macro, choose the Run | Compile
menu item.
A macro can be executed within the macros window. To execute a macro, choose the Run | Execute
menu item.