Files
vectorcraft/docs
dotCooCoo 1b13f0ad1e Scripts: app gives scripts preferences, matrices and the clipboard
`app.preferences` reads, stores and removes values by key with the
type they were set as. Keys that are not VectorCraft preferences are
kept with the preferences under `scriptPreferences`, so they last
across runs and restarts, and a failed or stopped run puts them back.
Keys, values and the store have size limits, a setter refuses a value
of the wrong type, and two windows that set different keys keep both
when the preferences file is saved.

- `ShowExternalJSXWarning` is the warning before a picked script runs.
  Setting it to true, or removing it, turns the warning on. Setting it
  to false opens a confirm with No as its default and turns the warning
  off only after Yes; a run that cannot show a dialog throws and
  changes nothing. This confirm is VectorCraft's own rule.
- `app.getIdentityMatrix`, the `get…Matrix` and `concatenate…Matrix`
  functions, `invertMatrix`, `isEqualMatrix` and `isSingularMatrix`
  work on plain `Matrix` records and never change the records passed
  in.
- `app.copy`, `app.cut` and `app.paste` run `edit.copy`, `edit.cut`
  and `edit.paste` on the active document inside the run's
  transaction.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-21 12:06:41 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00
2026-11-20 06:07:45 +07:00