Film kit command

project.view.set

Set Project Panel View

Sets the Project panel view: `view` list|icon|freeform, icon size, font size, preview area, thumbnails and hover scrub.

Kit
Film 0.1.0 (.kfilm)
Changes the document
yes

Parameters

Parameters of project.view.set
NameTypeRequiredDescription
fontSize"small" | "medium" | "large" | "extraLarge"no
hoverScrubbooleanno
iconSizenumberno
iconSortanynocolumn|{"column":str,"descending":bool}?
previewAreabooleanno
thumbnailControlsAllDevicesbooleanno
thumbnailsbooleanno
thumbnailsShowEffectsbooleanno
view"list" | "icon" | "freeform"no

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "project.view.set" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: fontSize, hoverScrub, iconSize, iconSort, previewArea, thumbnailControlsAllDevices, thumbnails, thumbnailsShowEffects, view. 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": {
    "fontSize": {
      "enum": [
        "small",
        "medium",
        "large",
        "extraLarge"
      ],
      "type": "string"
    },
    "hoverScrub": {
      "type": "boolean"
    },
    "iconSize": {
      "type": "number"
    },
    "iconSort": {
      "description": "column|{\"column\":str,\"descending\":bool}?"
    },
    "previewArea": {
      "type": "boolean"
    },
    "thumbnailControlsAllDevices": {
      "type": "boolean"
    },
    "thumbnails": {
      "type": "boolean"
    },
    "thumbnailsShowEffects": {
      "type": "boolean"
    },
    "view": {
      "enum": [
        "list",
        "icon",
        "freeform"
      ],
      "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.