![]() |
#1006 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#1007 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Will the path of the icons change? I was a bit surprised to find them in {calibre appdata}\resources\images. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1008 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
New question:
I have an action chain (remove book from device) that prompts for confirmation. This, in turns, calls another chain (clear device-related fields) that also prompts for confirmation. Is there a conditional I can put on the subchain's prompt to stop the double-prompt? |
![]() |
![]() |
![]() |
#1009 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
template = program: globals(_caller) datatype = text comparison = "=" condition value = |
|
![]() |
![]() |
![]() |
#1010 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2023
Device: none
|
Hi,
newbie question, please help. Ive chained the event "books added" (https://www.mobileread.com/forums/sh...0&postcount=16) to the action "download metadata" (https://www.mobileread.com/forums/sh...9&postcount=28) but it doesnt download the metadata properly (especially if more books were added). "Books added" is described as marking the newly added books as it finishes (so no selector necessary?), but it is executed after each book added, so this maybe causes interferences. Is there an elegant way to solve this? Maybe with queue, delay or something else? |
![]() |
![]() |
Advert | |
|
![]() |
#1011 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Anyway, if it is not working for you for some reason, you are advised to make chain containing the Add Books Action (you can get it from here) followed by the download metadata. |
|
![]() |
![]() |
![]() |
#1012 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Template question: is it possible to ignore an empty variable?
I have this template to populate #percentread from the runtime chain variable "Current_Page": Code:
program: totalpage = $#pagecount; currentpage = globals(Current_Page=1); newpercent = round(multiply ((currentpage / totalpage), 100)); Is there a way to instead ignore an empty variable and leave #percentread unmodified? Last edited by ownedbycats; 01-15-2023 at 08:26 PM. |
![]() |
![]() |
![]() |
#1013 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Code:
program: if globals(Current_Page) == '' then $#percentread else do whatever you want here fi |
![]() |
![]() |
![]() |
#1014 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thanks
![]() |
![]() |
![]() |
![]() |
#1015 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Could an action chain work to semi-automate copying multiple columns from one book record to another?
Specifically, I'd like to copy #lastread (date), #percentread (integer), and #ratings (rating) between different book editions (usually physical & Standard Ebooks versions of a public domain work). To make things simpler, they will always have the same title and author. |
![]() |
![]() |
![]() |
#1016 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Error after last update
So last week I had no issue running my action chains after my weekly updates.
This week however (after the last Calibre update and several plugin updates) I get this error. Quote:
Am I the only one experiencing this, or do others experience the same? |
|
![]() |
![]() |
![]() |
#1017 |
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Me too
Spoiler:
|
![]() |
![]() |
![]() |
#1018 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Users: A bit of code used for the search & replace was removed in 6.12. So downgrading to 6.11 should work for now.
capink: Specifically, def stylesheet_for_line_edit. Last edited by ownedbycats; 02-04-2023 at 11:23 AM. |
![]() |
![]() |
![]() |
#1019 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Version 1.18.4 - 6 February 2023
Fix: Search and Replace: Fix issue introduced by updates to calibre 6.12.0. |
![]() |
![]() |
![]() |
#1020 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Action Chains Resources | capink | Plugins | 78 | 08-05-2025 04:01 AM |
[Editor Plugin] Editor Chains | capink | Plugins | 106 | 06-17-2025 05:36 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |