Roman Numeral Numbering

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Roman Numeral Numbering

Postby ggrock70 » Fri Jan 08, 2010 4:43 am

_
I LOVE roman numerals! I hate seeing digits at the end of each file. I only use roman numerals for pictures.

I would like an option in "Numbering (10)" to include Roman Numerals in "type"

Instead of:____________I Prefer:____________

August Storm 001.jpg--->August Storm I.jpg
August Storm 002.jpg--->August Storm II.jpg
August Storm 003.jpg--->August Storm III.jpg
August Storm 004.jpg--->August Storm IV.jpg
August Storm 005.jpg--->August Storm V.jpg
August Storm 006.jpg--->August Storm VI.jpg
August Storm 007.jpg--->August Storm VII.jpg
August Storm 008.jpg--->August Storm VIII.jpg
August Storm 009.jpg--->August Storm VIIII.jpg
August Storm 010.jpg--->August Storm X.jpg
August Storm 011.jpg--->August Storm XI.jpg
August Storm 012.jpg--->August Storm XII.jpg
August Storm 013.jpg--->August Storm XIII.jpg
August Storm 014.jpg--->August Storm XIV.jpg
August Storm 015.jpg--->August Storm XV.jpg
August Storm 016.jpg--->August Storm XVI.jpg
August Storm 017.jpg--->August Storm XVII.jpg
August Storm 018.jpg--->August Storm XVIII.jpg
August Storm 019.jpg--->August Storm XVIIII.jpg
August Storm 020.jpg--->August Storm XX.jpg
August Storm 021.jpg--->August Storm XXI.jpg
... ....

I usually only go up to 40 and always less than 100 in roman numerals.
Hope that helps the understanding. I wish I had the code and add it myself. i dunno.
If any one can do this awesome! or if anyone knows of another prgram, let me know ASAP please. thanks! :mrgreen: :mrgreen: :mrgreen:
ggrock70
 
Posts: 1
Joined: Fri Jan 08, 2010 4:23 am

Re: Roman Numeral Numbering

Postby Stefan » Fri Jan 08, 2010 3:18 pm

Hi gg welcome.

You need only serializing? No converting from "4" to "IV" ?
Than this is easy, but unfortunately BRU doesn't support to load an list to add signs to the file name, only complete rename pairs.

That's, If you want you can try this >>> http://www.den4b.com/forum/viewtopic.php?pid=4185#p4185

Hmm, converting "4" to "IV" could be done with an stupid simple list (I=1, II=2, V=5, X=10,...) too,
but better would be writing an code to do this automatically... but just no time right now.

CU
Stefan
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Roman Numeral Numbering

Postby m60462a » Fri Jan 14, 2011 6:13 am

I would like to also add my disappointment with not having roman numeral auto numbering. Which would be ok, if I could get the 'Character Replacements' thing to work. This program is simply amazing. It is the kind of program that literally changes lives. It makes me breakfast and fixes my car. But how in the world did this program, which pays excruciating detail to every facet of file / folder renaming, leave out this seemingly obvious (at least to me) option? I'm not a hard core programmer so I'm probably missing some 'inside' tidbit of coding info. (I have an image in my head, that the ubber file renaming hack community has been working for decades to crack the mysteries of auto numbering for Roman Numerals. One day they will liberate themselves of this awful shame, and all will be right in the universe of one-off's once more.. Lol. I ramble)
m60462a
 
Posts: 2
Joined: Fri Jan 14, 2011 5:55 am

Re: Roman Numeral Numbering

Postby Admin » Fri Jan 14, 2011 1:49 pm

Hi, did you try using the character translation feature ?
Admin
Site Admin
 
Posts: 1464
Joined: Tue Mar 08, 2005 8:39 pm

Re: Roman Numeral Numbering

Postby m60462a » Fri Jan 14, 2011 2:07 pm

I couldn't get it to work. I read something about 'repl(3)' must be used somehow in conjunction with 'character replacement' do to possible program bug. But tinkering with that didn't work either.
m60462a
 
Posts: 2
Joined: Fri Jan 14, 2011 5:55 am

Re: Roman Numeral Numbering

Postby Stefan » Sat Feb 12, 2011 5:40 pm

Hi there,

i had some time and looked at this issue again, and i found out

Character Translations is an real "Character Translations" and NOT an "String Translations".



That means,
If you want to replace ONE with THREE
you can NOT use simple ONE=THREE
but do it char by char like O,N,E=T,H,R,E,E


Examples:
Note: use this without quote "" signs

Replace signs with an space:
"(= "
"[= "
"!= "
or replace signs with an underscore:
"+=_"
";=_"
or replace signs with nothing (=remove):
"Ü="
"ü="
"Ö="
"ö="
"$="

Replace an group of signs or one sign with an another sign or group:
"A=F,i,r,s,t"
"B=S,e,c,o,n,d"
"J,a,n=0,1"
"F,e,b=0,2"
...
"N,o,v=1,1"
"D,e,c=1,2"
"I,M=P,O,X,Y,Z" > IMG_0001.jpg >> POXYZYG_0001.jpg
"0,0,5=V"
"0,0,6=V,I"
"0,0,7=V,I,I"
"0,0,8=V,I,I,I"

if the bit between the comma
is one character it's treated as a literal letter or digit;
if it's two (e.g. 6F) it's treated as Hex;
if it's three (e.g. 017) it's treated as decimal.
That way you can perform replacements of non-keyboard characters.


Please note that BRU don't save settings so you may have to save this definitions yourself in an text file for later re-use!
Best use an good text editor to collect this replacing groups and store this as plain text file in your BRU-folder.
Next if you want to use this definitions, open this text file, select all, copy to clipboard, go to BRU, press CTRL+F6 and paste it in.
(You can also use "File > Save" or "Save as..." to an *.bru file so this definition is saved too with all other just now set settings.
But then it is every time active when you start BRU. See "*.bru favorites" for more >>> http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=4&t=1220&p=3482&hilit=default.bru#p3482 )


-------------

Back to topic:

So you can't use 006=VI but 0,0,6=V,I

I have tested this statement and my translation list with the strings from first post above.

The List of Roman Numerals i have found at >>> http://www.list-of.org.uk/list-of-roman-numerals.htm

The Translation List i have done with an text editor and regular expression search&replace (and some handwork):
I hope i have not overseen an extra come or like that... please check you and report back if it works, thanks.


Here you are.
If you copy&paste this be sure there are no trailing blanks!
(You can check this by selecting this list in the "Character Translations"-dialog in BRU
(or here in the code box below) and check if the blue selection end right after the chars!
Again: There must be no blue colored space behind the last char!!! And between each sign there must be one coma!)

Roman Numerals Translation List
Code: Select all
0,0,1=I
0,0,2=I,I
0,0,3=I,I,I
0,0,4=I,V
0,0,5=V
0,0,6=V,I
0,0,7=V,I,I
0,0,8=V,I,I,I
0,0,9=I,X
0,1,0=X
0,1,1=X,I
0,1,2=X,I,I
0,1,3=X,I,I,I
0,1,4=X,I,V
0,1,5=X,V
0,1,6=X,V,I
0,1,7=X,V,I,I
0,1,8=X,V,I,I,I
0,1,9=X,I,X
0,2,0=X,X
0,2,1=X,X,I
0,2,2=X,X,I,I
0,2,3=X,X,I,I,I
0,2,4=X,X,I,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I
0,9,4=X,C,I,V
0,9,5=X,C,V
0,9,6=X,C,V,I
0,9,7=X,C,V,I,I
0,9,8=X,C,V,I,I,I
0,9,9=X,C,I,X
1,0,0=C



If one is interested, there are more posts about Character Translations:
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=3&t=300
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=3&t=666&p=2439


HTH? :D
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Suggestions