Help a newbie

Advanced Renamer forum
#1 : 21/03-21 20:53
Michael Friedman
Michael Friedman
Posts: 2
Scan Snap

5000_001
5000_002
5000_003


Wanted numbering
5001
5002
5003

I am having trouble figuring out how to use this program. Can someone please give me the proper settings to accomplish this renumbering.
Thanks,
Mike


21/03-21 20:53 - edited 21/03-21 20:55
#2 : 22/03-21 10:41
David Lee
David Lee
Posts: 1125
In this case simply using the "Remove pattern" method with Pattern = 000_ will do the trick for the examples you have provided.

However there are many other ways this can be achieved - some more general than others.

eg a Replace method...

Replace: 000_
with: nothing

or a Script method to extract the two numbers in each filename using a regular expression and adding them together...

match = item.name.match(/(.*)_(.*)/);
return 1*match[1] + 1*match[2];

Reading the User Guide will be a good start!



22/03-21 10:41
#3 : 22/03-21 18:33
Michael Friedman
Michael Friedman
Posts: 2
Reply to #2:
Thank you very much. I will read the manual.
Mike


22/03-21 18:33