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

Parameters of edit.find
NameTypeRequiredDescription
caseSensitivebooleanno
columnstringno
in"all" | "clips" | "markers"no
matchAllbooleanno
operator"contains" | "matches" | "beginsWith" | "endsWith" | "doesNotContain"no
rowsobject[]no
scope"project" | "timeline"no
textstringno

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.