Quote:
Originally Posted by stumped
i think I could have regexed the number from each image file name into header text but it was the need to subtract 4 that stumped me. do tell, if I missed a trick there.l
|
As I said: select all the chapter head images in the file list and rename as "Chapter_1" and they will be named in sequence from that. You might use "Chapter_01" to make them sort correctly after renaming if more than 9 chapters.
Then the regex from filename to text is trivial.