Slide kit command
show.setup
Set Up Slide Show
Sets slide show options: presenter or kiosk mode, looping, narration, animations, timings and slide range.
- Kit
- Slide 0.1.0 (.kslide and .pptx)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
all | boolean | no | every slide, instead of from and to |
from | integer | no | first slide (from 1) |
loop | boolean | no | |
noAnimation | boolean | no | |
noNarration | boolean | no | |
to | integer | no | last slide (from 1) |
type | "speaker" | "browsed" | "kiosk" | no | |
useTimings | boolean | no |
Call through slide_run
text
slide_run {
"path": "<file>.pptx",
"steps": [{ "command": "show.setup" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: all, from, loop, noAnimation, noNarration, to, type, useTimings. slide_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": {
"all": {
"description": "every slide, instead of from and to",
"type": "boolean"
},
"from": {
"description": "first slide (from 1)",
"type": "integer"
},
"loop": {
"type": "boolean"
},
"noAnimation": {
"type": "boolean"
},
"noNarration": {
"type": "boolean"
},
"to": {
"description": "last slide (from 1)",
"type": "integer"
},
"type": {
"enum": [
"speaker",
"browsed",
"kiosk"
],
"type": "string"
},
"useTimings": {
"type": "boolean"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (slide_commands through @kition/[email protected], built from KitionAI/kition-slide@7ef3d11). As data: commands.jsonl.