04-28-2023, 12:01 PM | #46 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
This was copied from older code I developed for a custom Find Duplicate version I have. I don't remember the details, but the code in the Find Duplicate gave the user the option to sort (the duplicate groups not calibre library view) using a template he directly enters in the template dialog. So, the composite was probably removed because it was redundant. Not sure, so try and see for yourself.
|
11-11-2023, 11:41 AM | #47 | |
Member
Posts: 12
Karma: 10
Join Date: Jul 2023
Device: KPW, Fire Tablet 8
|
Quote:
To confirm this, I placed a dialog box in the step immediately after updating metadata, and you can see it appears on top of the "applying metadata" box. I have a copy of the calibre temp folder that was generated during the action chain, and can provide that privately. I also have a video screen recording. |
|
Advert | |
|
11-12-2023, 04:45 AM | #48 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
11-13-2023, 12:02 PM | #49 |
Member
Posts: 12
Karma: 10
Join Date: Jul 2023
Device: KPW, Fire Tablet 8
|
|
11-13-2023, 01:57 PM | #50 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
I just tested and was not able to replicate you problem with the option checked. I've never actually used this action myself. Maybe some of the users who use it can chime in.
|
Advert | |
|
11-16-2023, 10:47 PM | #51 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Count chapters by counting headers
This chains are for counting chapters in an epub book and saving the number into a custom column. For this chain to work you will need to have the Editor Chains plugin installed as well.
Editor Chains has an action called "Tag Actions" which allow the user to use criteria to locate tags. So for example, a user can use to search for all h1,h2,h3 tags with a class called "toc", and then count these tags, after which "Action Chains" can update a custom column with the count. Attached below is the chain that implement this solution (I left out specifying a class name and only specified tag names, you can add yourself with whatever criteria you wish). Using this chain, the user has the opportunity to exclude or include tags based on their text (regex), so can only add tag the have the names chapter of part, or the tag that end or start with digit, and so on. Note that you will have to configure the chain to choose the right column name you want to update. Last edited by capink; 11-24-2023 at 05:08 AM. |
11-16-2023, 10:47 PM | #52 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Counting chapters by counting ToC entries
This chain is for counting chapters in an epub book and saving the number into a custom column. This chain counts the entries in the Toc. This is not as reliable as the method in the above post that counts headers based on criteria specified by the user as there might be non chapter ToC entries. But it is simpler and does not need much configuration—besides choosing the custom column—on the part of the user.
Last edited by capink; 11-17-2023 at 10:37 AM. |
11-17-2023, 03:53 PM | #53 |
Custom User Title
Posts: 9,574
Karma: 64960983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
This Action Chain will copy the current cover to the data folder. Note that opening the template editor will also activate the copy.
Thanks to @chaley for the python code. |
11-18-2023, 02:03 AM | #54 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Thanks. I updated this to a version that does not use templates to avoid invoking the copying when opening the template editor.
|
01-30-2024, 12:24 AM | #55 |
Fanatic
Posts: 526
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
Thank you for the module "Book Added" for Event Manager.
Since I'm no developer, I would like to request for module that detects if a book has certain tag (run search when database is modified???) Edit: I'm testing with Timer now... Last edited by nqk; 01-30-2024 at 12:35 AM. |
04-28-2024, 05:14 PM | #56 |
want to learn what I want
Posts: 1,281
Karma: 6433040
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Is it possible to have an action toggle some Calibre preferences?
For example, to change the option to read metadata from contents/filenames: https://www.mobileread.com/forums/sh...d.php?t=360814 |
04-28-2024, 05:20 PM | #57 | |
Custom User Title
Posts: 9,574
Karma: 64960983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Set percent-read from page number
Posted in the Reading Goal thread, thought I should repost it here:
Quote:
Last edited by ownedbycats; 05-18-2024 at 08:44 PM. |
|
05-01-2024, 12:46 PM | #58 |
my parent's oops...
Posts: 485
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
Remove all formats except epub
I have built a simple chain that converts books into epub and then removes all formats except....
It works great thanks so much (and was easy to build), however, I would like to have the chain automatically remove all formats except epub. Is there any way to have it automatically have epub selected instead of me having to choose this option in the pop up dialog every time the chain is run? I am sorry if I missed a post somewhere with an obvious answer to this sort of chain design. |
05-02-2024, 04:48 AM | #59 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Single Field Edit > choose formats > predefined option should not prompt you at all.
|
05-02-2024, 06:17 PM | #60 |
my parent's oops...
Posts: 485
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Action Chains | capink | Plugins | 1410 | Today 01:49 AM |
Book Scanning tool chains | tomsem | Workshop | 17 | 12-03-2023 10:19 AM |
Mystery and Crime Thorne, Guy: Chance in Chains (1914); v1 | Pulpmeister | Kindle Books | 0 | 11-25-2018 10:09 PM |
Mystery and Crime Thorne, Guy: Chance in Chains (1914); v1 | Pulpmeister | ePub Books | 0 | 11-25-2018 10:08 PM |
Could this be the last year for the big chains? | Connallmac | News | 66 | 01-07-2011 05:11 PM |