View Single Post
Old 04-30-2023, 11:24 AM   #948
Amon_Re
Zealot
Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.Amon_Re is less competitive than you.
 
Posts: 136
Karma: 14644
Join Date: Sep 2015
Device: Kobo Elipsa, Poketbook Inkpad 3 & Boyue Likebook Minas
Quote:
Originally Posted by chaley View Post
Assuming you are running calibre 6.12 or later:
Code:
{#kobo_percent_read:'switch_if($ >= 100, 'finished', $ <= 0, 'unread', 'reading')'}
Hmm, this only works if #kobo_percent_read is 1. If the value is between 2 and 100 the result is "finished".

Last edited by Amon_Re; 04-30-2023 at 01:58 PM.
Amon_Re is offline   Reply With Quote