mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-29 21:26:48 -06:00
Engine: a name given when a recording stops never replaces an existing macro
Stopping a recording with a name that a macro already has (in any case) saved over that macro's
steps, inputs and description, with only Undo to get them back. A taken name now gets a suffix
("Tidy (2)"), and the save passes replace: false as a backstop.
This commit is contained in:
+2
-1
@@ -119,7 +119,8 @@ of the step that just ran, and the cells changed so far.
|
||||
## Recording
|
||||
|
||||
`macro.record` toggles recording (`relative: false` for absolute references; `name` and
|
||||
`description` when stopping). The macro is saved in the workbook where recording started, even if
|
||||
`description` when stopping; a name that another macro has gets a suffix, such as `Tidy (2)`, so
|
||||
stopping never replaces a macro). The macro is saved in the workbook where recording started, even if
|
||||
another one is active; if that workbook was closed, stopping ends the recording without saving it.
|
||||
When saving the recording fails (a name the check refuses, a workbook at its macro limit),
|
||||
recording goes on, so stopping again keeps what was recorded. With relative references the
|
||||
|
||||
Reference in New Issue
Block a user