Motion kit command

window.restoreScriptPanels

Restore Script Panels

open the script panels that were open when Kition Motion last quit (frontends call it once at launch). Panels whose script is gone or fails are reported and forgotten; the others still open.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

None.

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "window.restoreScriptPanels" }]
}

The required parameters, with placeholders for their types: not a tested example. motion_run answers the step’s result in completed[i].result.

Result

Result of window.restoreScriptPanels
NameTypeRequiredDescription
failedany[]no
openedany[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "failed": {
      "items": {},
      "type": "array"
    },
    "opened": {
      "items": {},
      "type": "array"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.