View Single Post
Old 06-12-2021, 12:04 PM   #11
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,109
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also added one for borrowed books

Code:
program:

k = $#kobocoll;

if check_yes_no('#onkobo', 0, 1, 0) then 'Send to Device'
elif check_yes_no('#onkobo', 0, 0, 1) then
    if 'Kobo Store' inlist k then 'Kobo Store'
	elif 'Loans' inlist k then 'On Loan'
	elif 'Send to Device' inlist k then 'Send to Device'
	else 'Sideloaded'
	fi
fi
Since I'm here anyways: Is there a way to automatically add any new items from a column to a user category? Thankfully, more transient items (e.g. "send to device") are just marked as 'not on any book' when not in use so I won't need to keep re-adding those.

Last edited by ownedbycats; 06-12-2021 at 07:16 PM.
ownedbycats is offline   Reply With Quote