Saving a macro

images/download/attachments/162957795/image2026-6-29_15-42-38.png

Application area:

Starting a run, supplying required inputs, monitoring progress, pausing, stopping at breakpoints, and overriding values for a single execution instance.

The Save panel

When you stop recording (or finish editing), the Save panel appears with three fields:

• Name — pre-filled with a suggestion such as Macro name 1. Change it to something you will recognize in the list.

• Language — the language the macro is built in: .NET or Spr.

• Comment —an optional description, displayed on hover over the comment icon in the macro row. The comment becomes the macro's description. It is shown when you hover the comment icon on the macro's row in the list, so a short note about what the macro does — and on what kind of part — pays off later.

images/download/attachments/162957795/05-save-panel.png

Choosing the language

• .NET — the macro is built as a .NET extension.

• Spr — the macro is built in Spr, ENCY's built-in scripting language.

Both options produce a macro run in the same manner. The choice of language is significant mainly when the macro source is subsequently opened for development See more

The build-environment check

When the Save panel is opened and on every change of language, a check is performed to confirm that all components required to build the selected language are present. If the required components are absent:

• The message Macro build environment is not ready is displayed, and the Save button becomes unavailable.

• Clicking the message and confirming the Try to fix it? prompt initiates the setup of the environment by the system.

A re-check is performed afterwards; once the environment is ready, the Save button becomes available again.


Saving or cancelling

Save. Builds the macro and adds it to the list, ready to run. Macros are stored in the personal ENCY folder, under `macros`.

Cancel. Discards the recording without saving.