mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
ui.inspect lists each open dialog with a key and its fields. The params text of these commands, and docs/mcp.md, docs/control-protocol.md and docs/target-app-parity.md, named keys and fields that ui.inspect does not report: - Recolor Artwork (ui.recolorDialog) and JavaScript Files (ui.javascriptFilesDialog) were listed with key null. Both dialogs now report the key their texts name: recolor and javascriptFiles. - Print (file.print) and the print preset editor (ui.printPresetDialog): the texts said dialog print and printPreset; the key is null. The Print dialog lists section and sheet, not toFile, __section or __sheet, and Done is choice: done followed by ui.dialog.confirm, not discard: true. printer takes a name from print.printers, or PDF File, with which Print saves the job as a PDF. - Find and Replace (ui.findAndReplace, ui.paramDialog with edit.findReplace): the texts said dialog findReplace and named an action field that ui.dialog.confirm runs. The key is null, the dialog lists no action field, and the texts now name its fields and buttons. - Check Script (ui.checkScript): the texts said dialog scriptCheck with a report field. The key is null and the fields are lines, notes and groups; Copy copies the report as text. - Import Shortcut Set (ui.shortcutImportDialog): the review opens inside Keyboard Shortcuts, which ui.inspect does not list. The text no longer names a shortcutImport dialog or its fields, and says that shortcutSet.read reads a file and matches its entries and importMatches.set stores matches. - Data Recovery: the app asks about one copy at a time, with the field choice (recover or discard), not copies and discard. - Reset Preferences: the question over Preferences is not listed in dialogs, and has no resetPreferences key. Each command has a test that opens the dialog and checks its params text against what ui.inspect lists.