Zero-padding initialisation

Advanced Renamer forum
#1 : 11/10-08 17:29
Dave Pentin
Dave Pentin
Posts: 2
Firstly, thanks for a great product! I've just started using Advanced Renamer and can see that it is going to save me loads of time and effort in renaming my digital photos.

My question for you is:
Is there a way to use the "Inc Nr" or "Inc NrDir" tags to initialise with zero padding? For instance, I may know that I am going to eventually have about 5000 images in a directory, but initially I want to rename the first 50. I know I can initialise the rename number to say 51, but what I'd like to do is set it to 0001 or 0051, so that the files list sensibly when I eventually get my 5000 images in there.

I guess, thinking about it, that I could just rename the whole directory every time I add more files, but this could cause a problem if I've already created hyperlinks to their existing name.

I'm looking forward to using this software more - especially the ability to read EXIF info and IMG height and width parameters.


11/10-08 17:29
#2 : 12/10-08 16:34
Kim Jensen
Kim Jensen
Administrator
Posts: 775
Reply to #1:
Thank you for your nice words about Advanced Renamer.

It is in the plans for the next release to specify the zero-padding length. I will make it so a tag looking like <Inc Nr:0001> will have atleast 4 digits. I have talked to a couple of people about it, and it seems to be the most intuitive way.


12/10-08 16:34 - edited 12/10-08 16:37
#3 : 15/10-08 15:08
Dave Pentin
Dave Pentin
Posts: 2
That sounds like a nice easy and intuitive way to implement it. Good luck with the next release - can't wait!


15/10-08 15:08
#4 : 05/11-08 21:01
Mark
Mark
Posts: 3
Can the same idea of adding formatting to the end of the tag (e.g. "<Inc Nr:0001>") be used for all of the numeric fields, like dates and times? If that can be done, I would also like to see the Month fields be able to be "translated" into full names and into the 3-letter abbreviations. For instance, the month fields could be "9", "09", "September", or "Sep".

Using the initial suggestion, the field <IMG Month> could be extended into something like these:

<IMG Month:0> (this gives "9")
<IMG Month:00> (this gives "09")
<IMG Month:Xxx> (this gives "Sep")
<IMG Month:XXX> (this gives "SEP")
<IMG Month:Xxxx> (this gives "September")
<IMG Month:XXXX> (this gives "SEPTEMBER")

Just an idea. Good luck on the next release.


05/11-08 21:01
#5 : 06/11-08 15:52
Kim Jensen
Kim Jensen
Administrator
Posts: 775
Reply to #4:
That is actually a pretty good idea. I will look at that functionality at the next release.


06/11-08 15:52