#1 : 29/12-24 03:27 Rico
Posts: 1
|
Context: I use Advanced Renamer to rename comics, so, I would like the first file listed to be always renamed to “Cover” despite its name.
Note: I rename the other archives (e.g., Page 001, Page 002). I don't know if it'll matter, but I mention it just in case it does. |
#2 : 29/12-24 18:36 Delta Foxtrot
Posts: 401
|
Reply to #1:
Hi Rico, Not sure I understand what you want. When asking questions it is helpful to show filenames before and how they should look after. If, as it seems, you just want to rename the first file in the list ONLY, all you need is one line of javascript: return ( item.index == 0 ? "Cover" : item.newBasename ) ; Don't forget to click the "Apply script" button, and make sure you apply it to only the Name. And if you are renaming the other files in the same batch make this the last method. If that's not what you need let us know. Best, DF |