How to add random ID in every file after title

Advanced Renamer forum
#1 : 03/06-14 12:07
Varinder
Varinder
Posts: 5
Hi,

I want to add a unique id in every image in the end of the title. for example I have below image file name:

Selena Gomez.jpg
Justin Bieber.jpg
Kristen Stewart.jpg

I want the below result after adding a unique id

Selena Gomez #5879.jpg
Justin Bieber #8745.jpg
Kristen Stewart #2597.jpg

Please tell me if this is possible to do!

Thanks


03/06-14 12:07
#2 : 03/06-14 19:10
Stefan
Stefan
Posts: 274


03/06-14 19:10
#3 : 04/06-14 10:14
Varinder
Varinder
Posts: 5
Reply to #2:

Hi Thanks for the support, I tried adding <Rand:MIN:MAX> code while renaming files, but it goes in red colors and the real file name are gone.

Method I use:

Add batch method >> New Name >> adding the "<Rand:MIN:MAX>" code.

New file name shows red. Hope you understand.


04/06-14 10:14
#4 : 04/06-14 11:17
Stefan
Stefan
Posts: 274
Reply to #3:

Did you read the help ? ;-)

<Rand:MIN:MAX>
Inserts a random number. MIN and MAX can be used to specify a minimum and a maximum range.


That means, you can just use
<Rand>

Or set the range of lowest and the highest digit to be used:
<Rand:MIN:MAX>
<Rand:1:46>
<Rand:200:255>
<Rand:10000:99999>

- - -

In your case,

FROM:
Selena Gomez.jpg
Justin Bieber.jpg
Kristen Stewart.jpg

TO:
Selena Gomez #5879.jpg
Justin Bieber #8745.jpg
Kristen Stewart #2597.jpg

USE
ADD method (http://www.advancedrenamer.com/user_guide/metho d_add)
to add some extra to your filename at a given position.

With <Rand> (http://www.advancedrenamer.com/user_guide/tags_ advanced)
to inserts a random number.


So do ADD method:
Add: ' #<Rand:1000:9999>'
At Index: 0
[x] Backwards
Apply to: [Name]



.


04/06-14 11:17
#5 : 05/06-14 07:42
Varinder
Varinder
Posts: 5
Reply to #4:
Thank You! So much for the kind support, this is very helpful for me. Thanks for this awesome Tool.


05/06-14 07:42