Files
vectorcraft/crates
dotCooCoo 4ac416d7d0 Scripts: swatches, spots, color groups, symbols, graphic styles and brushes
Each document gains the swatches, spots, swatchGroups, symbols,
symbolItems, graphicStyles and brushes collections that the scripting
reference lists (https://ai-scripting.docsforadobe.dev/jsobjref/Document/).
Each change runs the existing Swatches, Symbols, Graphic Styles or
Brushes command inside the run's transaction.

- Resource objects follow renames made through them and throw
  Stale <Class> once the resource is removed, or renamed or deleted
  with vc.run, so a new resource with the old name is not theirs.
- Swatches, spots and color groups share their names: a name one of
  them already has throws instead of taking a numbered name.
- None, Registration and the Default Graphic Style cannot be renamed
  or removed, and removeAll() keeps them.
- spots.add() converts the current fill to the document's color space
  unless it is Lab; a spot's color stays in that space or Lab.
- A tint of a spot reads as a SpotColor of that spot at its tint.
- Brush.applyTo throws for a guide, a clipping path and a path in a
  compound path, which brush.apply does not brush.
- Objects of another document throw before any command runs.
- Document.gradients, Document.patterns and assigning a SpotColor to
  art are not available yet.

The host name check lists the new classes, members and enumerations.
Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-21 13:44:28 -08:00
..
2026-11-19 15:24:38 +07:00
2026-11-19 06:08:29 -08:00
2026-11-20 06:07:45 +07:00