![]() |
#76 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I submitted a PR with the changes to
I implemented 'newline', 'tab', 'return', and 'backslash'. 'quote' and 'double_quote' aren't needed, and I decided to wait on 'backspace'. |
![]() |
![]() |
![]() |
#77 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
I tested with all three characters and it is working as expected. Thanks again.
|
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
@capink Thanks for making use of my thread, I was starting to get worried I was the only one with questions
![]() |
![]() |
![]() |
![]() |
#79 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
I've had questions and requests in the past. I used the Action Chains and other threads before this thread was created.
![]() |
![]() |
![]() |
![]() |
#80 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: k = field('#kobocoll'); if check_yes_no('#onkobo', 0, 1, 0) then 'sync.png' elif check_yes_no('#onkobo', 0, 0, 1) then if list_contains(k, ',', '^[Kobo Store]$', '1', '') then 'drm-locked.png' elif list_contains(k, ',', '^[Send to Device]$', '1', '') then 'sync.png' else 'reader.png' fi fi Last edited by ownedbycats; 04-28-2021 at 10:39 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#81 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#82 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
program: k = field('#kobocoll'); if check_yes_no('#onkobo', 0, 1, 0) then 'sync.png' elif check_yes_no('#onkobo', 0, 0, 1) then if '^\[Kobo Store\]$' inlist k then 'drm-locked.png' elif '^\[Send to Device\]$' inlist k then 'sync.png' else 'reader.png' fi fi |
|
![]() |
![]() |
![]() |
#83 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
thank you
![]() |
![]() |
![]() |
![]() |
#84 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: g = field('#genres'); k = field('#kobocoll'); if list_contains(g, ',', '^Fanfiction$', '1', '') then k = list_union(k, 'Fanfiction', ',') fi; if list_contains(g, ',', '^Cozy Mystery$', '1', '') then k = list_union(k, 'Cozy Mysteries', ',') fi; if list_contains(g, ',', '^(Fantasy|Science Fiction)$', '1', '') then k = list_union(k, 'Fantasy & Sci-Fi', ',') fi; k ![]() |
![]() |
![]() |
![]() |
#85 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
program: g = field('#genres'); k = field('#kobocoll'); if list_contains(g, ',', '^Fanfiction$', '1', '') then k = list_union(k, 'Fanfiction', ',') elif list_contains(g, ',', '^Cozy Mystery$', '1', '') then k = list_union(k, 'Cozy Mysteries', ',') elif list_contains(g, ',', '^(Fantasy|Science Fiction)$', '1', '') then k = list_union(k, 'Fantasy & Sci-Fi', ',') fi; k Code:
program: g = field('#genres'); k = field('#kobocoll'); v = first_non_empty( list_contains(g, ',', '^Fanfiction$', 'Fanfiction', ''), list_contains(g, ',', '^Cozy Mystery$', 'Cozy Mysteries', ''), list_contains(g, ',', '^(Fantasy|Science Fiction)$', 'Fantasy & Sci-Fi', '') ); list_union(k, v, ',') Last edited by chaley; 04-29-2021 at 06:08 AM. |
|
![]() |
![]() |
![]() |
#86 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you
![]() |
![]() |
![]() |
![]() |
#87 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
What would be the best way to turn my "Missing Kobo Collection" saved search into a icon for column templates?
Code:
#onkobo:true AND ( #fanficcat:true OR #genres:"=Fantasy" OR #genres:"=Science Fiction" OR #genres:"=Cozy Mystery" ) AND ( #kobocoll:false OR (#kobocoll:"=[Send to Device]" AND #kobocoll:#=1) OR (#kobocoll:"=[Kobo Store]" AND #kobocoll:#=1) ) ![]() Last edited by ownedbycats; 04-29-2021 at 10:40 PM. |
![]() |
![]() |
![]() |
#88 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#89 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,515
Karma: 73800865
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
oops, I meant first_non_empty. parkie brain strikes again...
|
![]() |
![]() |
![]() |
#90 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,303
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
program: if ( $#onkobo && ( $#fanficcat || '^Fantasy$' inlist $#genres || '^Science Fiction$' inlist $#genres || '^Cozy Mystery$' inlist $#genres ) && ( $#kobocoll == '' || ( '^\[Send to Device\]$' inlist $#kobocoll && list_count($#kobocoll, ',') ==# 1) || ( '\[Kobo Store\]$' inlist $#kobocoll && list_count($#kobocoll, ',') ==# 1) ) ) then 'foo' fi |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library Management: various questions not worth their own thread | ownedbycats | Library Management | 197 | 03-22-2025 10:29 PM |
[Metadata Source Plugin] Questions regarding parse select, docs and ref templates | Boilerplate4U | Development | 13 | 07-07-2020 02:35 AM |
Questions on Kobo [Interfered with another thread topic] | spdavies | Kobo Reader | 8 | 10-12-2014 11:37 AM |
[OLD Thread] Some questions before buying the fire. | darthreader13 | Kindle Fire | 7 | 05-10-2013 09:19 PM |
Thread management questions | meme | Feedback | 6 | 01-31-2011 05:07 PM |