View Single Post
Old 11-16-2023, 09:47 PM   #52
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Counting chapters by counting ToC entries

This chain is for counting chapters in an epub book and saving the number into a custom column. This chain counts the entries in the Toc. This is not as reliable as the method in the above post that counts headers based on criteria specified by the user as there might be non chapter ToC entries. But it is simpler and does not need much configuration—besides choosing the custom column—on the part of the user.
Attached Files
File Type: zip solution 2_action_chains_count_toc.zip (573 Bytes, 308 views)

Last edited by capink; 11-17-2023 at 09:37 AM.
capink is offline   Reply With Quote