How to keep the numbering inserted during the last use

Hello.

I rename images, assigning them a number that increments daily.

I use the `insert` command: `_img-<Inc Nr:00001>`.
I'm trying to figure out how to keep the last assigned number to continue numbering the next time.

I haven't been able to find a solution.

Thank you in advance for your help.
Sincerely,
Reply to #1:
Welcome zebulion!

Unfortunately, Aren does not provide a way to store such information between runs.

So a kludgy workaround is to create a special file named "Last Number Used 07259.special".
Where 7259 is the last number you've used.

Then
1) Always include this in the list of files in your Aren batch.
2) Use a script method to do the numbering -- keying off of and resetting the value in the name of "Last Number Used nnnnn.special"

I don't have time right now, but will post an exact solution in several hours, if no one beats me to it.

Please confirm/provide:
A) These are new files, no file is getting renumbered.

B) Please provide exact before and after sample filenames.

Regards,
Randy