View Single Post
Old 12-26-2021, 01:32 PM   #250
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,037
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
program:
m = is_marked();

first_non_empty
   (
    contains(m, "invalid_author_sort|invalid_title_sort", 'auto_author_sort.png', ''),
    contains(m, "epub_calibre_bookmarks", 'snippets.png', ''),
    if 'fff' in m && check_yes_no($#onkobo, 0, 0, 1) then 'sync.png' fi,
    contains(m, "fff", 'download-metadata.png', ''),
    contains(m, "search_results", 'search.png', ''),
    if m then 'marked.png' fi
   )
I'm likely going about this the wrong way - line 8 I want to check the book is marked with fff and #onkobo is set to yes. But instead I'm getting download_metadata.png on those ones.

Any idea?

Last edited by ownedbycats; 12-26-2021 at 01:36 PM.
ownedbycats is online now   Reply With Quote