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.