---
title: "file.incrementAndSave: Increment and Save — Motion kit command — Kition"
description: "Saves the project as a new numbered file next to the current one (Intro.aep → Intro 2.aep) and continues in it. Fails if the project was never saved."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/file.incrementAndSave"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/file.incrementAndSave](https://developer.kition.ai/docs/kits/motion/commands/file.incrementAndSave)

# file.incrementAndSave

**Increment and Save.** Saves the project as a new numbered file next to the current one (Intro.aep → Intro 2.aep) and continues in it. Fails if the project was never saved.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: yes

## Parameters

None.

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "file.incrementAndSave" }]
}
```

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

## Result

The kit gives no result schema for this command.

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
