Javascript: Save AI-file with automatic numbering

The free Javascript “Save file with automatic numbering” for Adobe Illustrator 2022, Adobe Photoshop 2022 and Adobe InDesign 2022 saves the current saved document in the file format .ai, .psd or .indd and automatically adds a consecutive number to the file name. Thus, the file “Example.ai” becomes the file “Example-0001.ai”, “Example-0002.ai” and so on; this works analogously for Photoshop and InDesign. This is also called “incremented” (continuous) saving. In this way, you can save individual steps in between and go back to an older version if necessary. The Javascript also works with older versions of Illustrator, Photoshop and InDesign.

https://www.behance.net/gallery/133799381/Javascript-for-AI-PS-ID-Save-with-automatic-numbering

Merry Christmas to all
– jens.

1 Like

The new version 1.5 saves the original document in Illustrator and InDesign. The copy with the sequential number is created faster by the operating system.

New version 2.0 with user interface.

More Information: https://www.behance.net/gallery/133799381/Javascript-for-AI-PS-ID-Save-with-automatic-numbering

I hope, you will like it.
– j

I have extended the programming:
Now in version 2.1 you can also save copies to external hard drives or network drives.
Another new feature is that if you click on “Path for copy” and then on “Cancel” in the next window, the path for copy is reset and the copy is saved in the same directory (again) as the working file.