Help > Authoring > Dialog Boxes > Edit Window > Tools Dialog Boxes > Macro Recorder Dialog Boxes > Macros Dialog Box
  
Macros Dialog Box
Use the Macros dialog box to run, edit, and delete macros.
Macro Name — Lists the defined macro names. If you type a name of a macro not in the list of defined macros, the Run, Edit and Delete buttons are disabled.
Macros in — Specifies the file containing the listed macros. Files containing macros are restricted to the following files:
docname.mcf — (Document scope) Defines macros which apply only to the current document. The .mcf file is in the same directory as the document and has the same base name. The document-scope location is not available for ASCII files and macro documents.
doctype.mcf — (Document type scope) Allows a macro to be redefined for a specific document type. This file is in the document type directory.
<application_data_dir>\user.mcf — (User scope) Contains user-defined macros which apply to all documents and document types. This location is the default when recording a new macro the first time.
The <application data dir> is the directory where your operating system stores user-specific data. This is usually C:\Document and Settings\user_name\Application Data\PTC\Arbortext\Editor.
Application macros — Site-specific macros which apply to all documents and document types. This macro scope is defined by reading Arbortext-path\lib\application.mcf (if it exists) and then each \lib\application.mcf file found in the custom directory search list. The search list is processed right-to-left with the left-most definition taking precedence over later ones, including the default definition in Arbortext-path\lib\application.mcf.
This scope is read-only. When a read-only file is selected, Edit and Delete are disabled.
Description — A description of the macro written by the user when the macro was created. Changing the description in this field will update the description in the macro definition.
Run — Closes the Macros dialog box and starts the selected macro.
Edit — Closes the Macros dialog box and opens the macro file specified in the Macros in field in Arbortext Editor with the selected macro at the top of the screen.
You can run the updated macro immediately after editing it. However, the macro will not be saved until you close the associated document (document-scope macros) or exit Arbortext Editor (user scope macros).
Delete — Deletes the selected macro.
Cancel — Dismisses the dialog box without running a macro.
Help — Displays help for this dialog box.