Film kit command

shortcut.presets

Keyboard Shortcut Presets

Lists the keyboard shortcut presets (built-in and saved) and the current one.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

None.

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "shortcut.presets" }]
}

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

Result

Result of shortcut.presets
NameTypeRequiredDescription
activestringno
builtinstring[]no
canRedobooleanno
canUndobooleanno
customany[]no
modifiedbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "active": {
      "type": "string"
    },
    "builtin": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "canRedo": {
      "type": "boolean"
    },
    "canUndo": {
      "type": "boolean"
    },
    "custom": {
      "items": {},
      "type": "array"
    },
    "modified": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.