GUI Help

Running macroprocessor in GUI

To start GUI run Java archive pmp.jar with parameter -jar.

java -jar pmp.jar -gui

GUI controls

Main Menu

Program

Menu item Run will make macroprocessor process given program. This command may be invoked also by pressing button Run on toolbar.

Command Quit will terminate GUI.

Macros

Command Load default configuration will load internal default configuration of macroprocessor.

Command Load config file displays file secection dialog which allows you to select custom configuration file.

Option Always reload macros specifies whether macroprocessor will be reset with given configuration before processing next file.

Option

Option Show error dialog controls whether error dialog will be displayed when macroprocessor encounters error in input text. All errors and warnings will be recorded in Errors tab regardless of this option

Tabs

Program

Upper part of Programs tab contains editbox which allows you to write your program for macroprocessor.

Lower part will contain result produced by macroprocessor after you select command Run.

Macros

Tab Macros contains list of all defined macros.

You can modify definition of selected macro and then press Change button to alter user-defined macro. Make sure you have disabled (unchecked) Always reload macros option, otherwise your changes will be lost.

Errors

Listbox in Errors tab contains list of all errors and warning messages produced by macroprocessor.