Files
vectorcraft/docs
dotCooCoo 58292d605a Scripts: app.showColorPicker asks for a color
app.showColorPicker(color) opens the Color Picker on an RGBColor,
CMYKColor, GrayColor or LabColor and returns the color picked for OK.
Cancel, and OK with the color unchanged, return a new object of the
color the script gave. Anything else throws a TypeError.

- In the app the run waits at the picker, which previews nothing on
  the selection. Stop and quitting end the run as at the other script
  dialogs and close the picker.
- A run with nobody to ask takes {kind: "colorPicker", value: color |
  null} from answers. The report lists the picker with the color it
  opened on and the answer.
- script.run's params text, docs/mcp.md and the Scripts line in
  docs/target-app-parity.md describe it.
2026-11-25 02:23:19 -08:00
..