Motion kit command

prefs.open

Open Settings

Editor window only: opens Settings at `page`. Headless sessions accept it and change nothing; use prefs.get and prefs.set.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

Parameters of prefs.open
NameTypeRequiredDescription
pagestringnogeneral|startup|project|composition|previews|appearance|grids|labels|type|import|export|audio|disk|memory|video|3d|scripting

Call through motion_run

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

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

Result

Result of prefs.open
NameTypeRequiredDescription
frontendstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "frontend": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "general|startup|project|composition|previews|appearance|grids|labels|type|import|export|audio|disk|memory|video|3d|scripting",
      "type": "string"
    }
  },
  "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.