mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 06:39:10 +00:00
The Actions panel menu has Replace Actions… after Load Actions…. It
opens an action set file and replaces every set in the panel, the
built-in Default Actions set included, with the file's set, which keeps
its name and becomes current and selected. It reads .vcactions and .aia
files as Load Actions… does, with the same limits and reports. The item
asks no question first and is off while an action records or plays.
- ui.actionSet.replace {path? | data?} runs it and returns
{changed, set, name, actions} with Load's reports. Omitted params
count as {}; another type or key, or a path or data that is not a
string, is an error.
- A canceled pick, or a file that can't be read or is refused (an empty
one too), changes nothing. Replace records no undo step.
- Replace clears what named the old sets as Reset Actions does, and the
two share that code.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md.