View Single Post
Old Yesterday, 09:18 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,523
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
What is the "book properties window"? Is it what calibre refers to as "Book details"? If not, what?
Click image for larger version

Name:	Clipboard01.jpg
Views:	13
Size:	173.2 KB
ID:	218478

If you mean Book details then you can do what you want with a column built from other columns that shows the number of extra files (what you called "comment files") associated with a book. Create the column giving it whatever lookup name and column title you want. The column creation dialog will look something like this:
Click image for larger version

Name:	Clipboard02.jpg
Views:	9
Size:	64.8 KB
ID:	218479

This is the template I used when creating the column:
Code:
program:
	count = has_extra_files();
	if count then count else 0 fi;
Counting the extra files is an expensive operation. For performance reasons I suggest that you "hide" the column in the book list.
chaley is offline   Reply With Quote