macro_create
Creates an IC-CAP macro with optional text, in Python or PEL. Replaces existing macros only when overwrite is explicitly enabled, with automatic pre-overwrite save to avoid data loss.
Instructions
Create a Macro object. Optionally set its text content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Macro text | |
| overwrite | No | Delete and replace an existing Macro only when explicitly enabled | |
| macro_path | Yes | ||
| macro_type | No | Execution language; new IC-CAP macros otherwise default to PEL Program | PythonGlobal |
| allow_without_checkpoint | No | Proceed only if an automatic pre-overwrite save fails; use with care |