Film kit command
edit.find
Find
Finds project items (`scope` project) or timeline clips (timeline) by `column` and `operator` with `text`, or several `rows` (`matchAll`); selects and reveals the first match. Answers it and the match count.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
caseSensitive | boolean | no | |
column | string | no | |
in | "all" | "clips" | "markers" | no | |
matchAll | boolean | no | |
operator | "contains" | "matches" | "beginsWith" | "endsWith" | "doesNotContain" | no | |
rows | object[] | no | |
scope | "project" | "timeline" | no | |
text | string | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "edit.find" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: caseSensitive, column, in, matchAll, operator, rows, scope, text. film_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"caseSensitive": {
"default": false,
"type": "boolean"
},
"column": {
"type": "string"
},
"in": {
"enum": [
"all",
"clips",
"markers"
],
"type": "string"
},
"matchAll": {
"default": true,
"type": "boolean"
},
"operator": {
"enum": [
"contains",
"matches",
"beginsWith",
"endsWith",
"doesNotContain"
],
"type": "string"
},
"rows": {
"items": {
"additionalProperties": true,
"properties": {
"column": {
"type": "string"
},
"operator": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"scope": {
"enum": [
"project",
"timeline"
],
"type": "string"
},
"text": {
"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.