View Single Post
Old 09-30-2021, 09:37 AM   #159
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,207
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Try this:

Code:
program:
	marked = from_search('id', 'marked:true');
	count(marked, ',')
Edit: As rule, calibre templates only work per book (horizontally). If you want to get data that depends on more that one book, Action Chains functions (from_search & from_selection) should help by pulling data from multiple books (vertically).

Last edited by capink; 09-30-2021 at 09:58 AM.
capink is offline   Reply With Quote