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
| Name | Type | Required | Description |
|---|---|---|---|
active | string | no | |
builtin | string[] | no | |
canRedo | boolean | no | |
canUndo | boolean | no | |
custom | any[] | no | |
modified | boolean | no |
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.