---
title: "shortcut.forKey: Shortcuts on a Key — Film kit command — Kition"
description: "Lists the commands on `key` with every modifier combination."
canonical: "https://developer.kition.ai/docs/kits/film/commands/shortcut.forKey"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/shortcut.forKey](https://developer.kition.ai/docs/kits/film/commands/shortcut.forKey)

# shortcut.forKey

**Shortcuts on a Key.** Lists the commands on `key` with every modifier combination.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `key` | `string` | no | like K |
| `platform` | `string` | no |  |

## Call through film_run

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

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

## Result



```json
{
  "description": "The command's answer"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "key": {
      "description": "like K",
      "type": "string"
    },
    "platform": {
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
