Slide kit command
animation.remove
Remove Animation
Removes animation `index` on the slide, or all animations of shapes in `ids`.
- Kit
- Slide 0.1.0 (.kslide and .pptx)
- Changes the document
- yes
- Acts on
ids(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ids | (integer | string)[] | no | in one of several forms of the parameters |
index | integer | no | a position counted from 0 (the first is 0); in one of several forms of the parameters |
onSlide | integer | no | the slide the ids are on, from 1; in one of several forms of the parameters |
Call through slide_run
text
slide_run {
"path": "<file>.pptx",
"steps": [{ "command": "animation.remove" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: ids, index, onSlide. 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": {
"ids": {
"description": "in one of several forms of the parameters",
"items": {
"description": "an id",
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"type": "array",
"x-khp-types": [
"Shape"
]
},
"index": {
"description": "a position counted from 0 (the first is 0); in one of several forms of the parameters",
"type": "integer"
},
"onSlide": {
"description": "the slide the ids are on, from 1; in one of several forms of the parameters",
"type": "integer"
}
},
"type": "object",
"x-khp-position": "independent"
}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.