View Single Post
Old 04-14-2023, 11:10 PM   #3
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,051
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Tan View Post
I am using Davids add on for Kobo Aura HD (which is brilliant). I have a column on the desktop Calibre for %read and another column for read yes/no (which is a green tick or red cross.) When I have finished reading a book and connect Kobo back to desktop, the % read is 100%. But it doesn’t change the read tick/cross to green tick. How can I do this?
Making an assumption here: If you have a manually-set yes/no column, this isn't possible.

Alternate is to go to Calibre Preferences > Look & Feel > Column Icons and set icons. One for between 0 - 99, and one for 100.

Another alternate: This template in a composite ('column built from other columns') using Show Checkmarks should work. Make sure column lookup is right.

Code:
program:
## Set to your percent read column
	read = $$#percentread;

	if read >=#0 && read <=#99 then 'No'
	elif read ==# 100 then 'Yes'
	fi

Last edited by ownedbycats; 04-14-2023 at 11:17 PM.
ownedbycats is offline   Reply With Quote