Motion kit command
file.revealInFinder
Reveal in Finder
Opens the folder holding footage `item`'s file in the system file browser. Returns {url}; fails for items that are not files.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
item | integer | no | |
items | (integer | string)[] | no | read by the command beside its listed parameters |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "file.revealInFinder" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: item, items. motion_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": {
"item": {
"type": "integer",
"x-khp-name": "name",
"x-khp-types": [
"Item"
]
},
"items": {
"description": "read by the command beside its listed parameters",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"x-khp-name": "name",
"x-khp-role": "object",
"x-khp-types": [
"Item"
]
},
"type": "array",
"x-khp-types": [
"Item"
]
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.