Slide kit command
presence.selection
Selection for Presence
Answers the selection in the form collaborators' presence shows it (slide and objects).
- Kit
- Slide 0.1.0 (.kslide and .pptx)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
onSlide | integer | no | the slide the ids are on, from 1 |
Call through slide_run
text
slide_run {
"path": "<file>.pptx",
"steps": [{ "command": "presence.selection" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: onSlide. slide_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
objects | any[] | no | |
slide | any | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"objects": {
"type": "array"
},
"slide": {}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"onSlide": {
"description": "the slide the ids are on, from 1",
"type": "integer"
}
},
"returns": "{slide: object | null, objects: [object]} (the current slide's and the selected shapes' KDM object ids; none before the document has a replica)",
"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.