Film kit command

shortcut.list

List Keyboard Shortcuts

Lists keyboard shortcuts, filtered by `query`, `panel`, `assigned` and `platform`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of shortcut.list
NameTypeRequiredDescription
assignedbooleanno
panelstringno
platform"mac" | "windows" | "linux"no
querystringno

Call through film_run

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

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

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "category": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "menu": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "shortcuts": {
        "items": {
          "additionalProperties": true,
          "properties": {
            "display": {
              "type": "string"
            },
            "keys": {
              "type": "string"
            },
            "panel": {}
          },
          "type": "object"
        },
        "type": "array"
      }
    },
    "type": "object"
  },
  "type": "array"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "assigned": {
      "type": "boolean"
    },
    "panel": {
      "type": "string"
    },
    "platform": {
      "enum": [
        "mac",
        "windows",
        "linux"
      ],
      "type": "string"
    },
    "query": {
      "type": "string"
    }
  },
  "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.