Query

Advanced Renamer forum
#1 : 10/06-17 07:41
Carlos Raniery
Carlos Raniery
Posts: 1
best regard

Very kindly request your help since I am doing a photographic work with some books and the pages I will name them as page 1 straight, page 1 verse, previously copy this script of the forum that facilitated the work, I would like to know please If the Script can be modified something so that I am known more than 5 folders just finished a folder start again page 1 straight, page 1 verse the script I have only I can rename 1 per folder does not give the option as in the <inc nr dir>,

if (index % 2 == 0)
{return "Pagina " + zpad(Math.round((index - 1) / 2) + 1, 3) + " Recto"}
else
{return "Pagina " + zpad(Math.round((index - 1) / 2) + 1, 3) + " Verso"}

// Function that add leading zeros to any string
function zpad(num, nb_digits) {
sNum = num.toString()
if (sNum.length < nb_digits) { return (Array(nb_digits - sNum.length + 1).join('0') + sNum); }
else { return sNum; }
}

https://pastebin.com/BvkevFcP

Thank you very much for your attention and help

Charlie Ranieri


10/06-17 07:41 - edited 10/06-17 07:53
#2 : 17/06-17 23:48
G. Lambany
G. Lambany
Posts: 186
Reply to #1:
Since I'm the author of the script, I'll see what I can do.

cheers


17/06-17 23:48