|
|
#1546 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,584
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Suggestion: Add link to AC Resources in the first post of thread.
|
|
|
|
|
|
#1547 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
|
|
|
|
|
|
#1548 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
@un_pogaz, @ownedbycats
I posted a custom action here that addresses the filtering problem, without the need for using templates.
Notes:
|
|
|
|
|
|
#1549 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
|
|
|
|
|
|
#1550 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,744
Karma: 13151503
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Yes, sorry. Export is attached.
|
|
|
|
|
|
#1551 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
There are two issues I can detect:
I tried the chain after modifying the condition above, and after creating the #lector and #prox columns in a test library, and it runs fine (I deleted the My Tools action as I do not have it on my system). |
|
|
|
|
|
#1552 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,744
Karma: 13151503
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
|
|
|
|
|
#1553 |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 656
Karma: 719376
Join Date: Dec 2017
Device: Kobo
|
The latest version of Quality Check (1.14.4) contain a support for the Actions Chains API. This is limited only to the Fix actions because that the only one that edit book metadata (when the other are only lookup actions that don't realy match with the scope of Actions Chains).
Technically, it was added into the 1.14.3, but it never was published and deployed on Mobilread. Also, some Fix actions of Quality Check can replace certain User Action (Bulk Sort Key and Re-calc Book Size for example). Last edited by un_pogaz; 10-05-2025 at 04:14 AM. |
|
|
|
|
|
#1554 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82,230
Karma: 150871427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#1555 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,584
Karma: 81412473
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Just curious:
A FanFicFare-related chain opens a dialog so I can copy something, then SFE to paste it into a longtext column. Is action to insert clipboard contents directly to column? |
|
|
|
|
|
#1556 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
from qt.core import QApplication
from calibre_plugins.action_chains.templates import TemplateFunction
class FromClipboard(TemplateFunction):
name = 'from_clipboard'
arg_count = 0
def evaluate(self, formatter, kwargs, mi, locals):
return QApplication.clipboard().text()
|
|
|
|
|
|
|
#1557 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
|
Hi!
I'm trying to get action chain to do a thing where if the title contains 'Anthology' then it'll pick a update anthology in fanficfare. But I can't get the title thing working. It only seems to recognize the full title, like not just if it contains something. How do I work that in the evaluate condition thing? Thank you for the help! |
|
|
|
|
|
#1558 |
|
Member
![]() ![]() Posts: 22
Karma: 128
Join Date: Jan 2020
Device: Kobo Libre2
|
Is there a way to use AC to open the Generate Cover (default) prompt screen at runtime?
Currently, the Single Field Edit > cover option won't let me select "Ask at Runtime." (Unless I am missing an option somewhere.) So at the moment, my options are to use my defaults or to create a new condition for each cover option and then add that to a separate chain. Also, I have noticed that AC's version of Generate Cover doesn't allow me to load in saved settings that the main Generate Cover window has. Is it possible to add this? |
|
|
|
|
|
#1559 | |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2026
Device: Kindle Colorsoft & Kindle Scribe
|
I am trying to figure out what I am doing incorrectly here. I have a chain that sorts my authors by lastname firstname when there are multiple authors. Inside the edit template, it works properly. Here is the code:
Quote:
Alan Fine & Axel Alonso & Dan Buckley & Daniel Freedman & David Aja & Joe Caramagna & Joe Quesada & John Cassaday & Peter Milligan & Sebastian Girner & Tomm Coker Into this: David Aja & Axel Alonso & Dan Buckley & Joe Caramagna & John Cassaday & Tomm Coker & Alan Fine & Daniel Freedman & Sebastian Girner & Peter Milligan & Joe Quesada When I go back to the main Calibre GUI, select a book, and then select the action chain, nothing happens. Am I setting it up to work incorrectly somehow? |
|
|
|
|
|
|
#1560 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,222
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Chaley has since introduced a change in calibre source that does a similar thing, so when I get time to look at the code I might remove this. In the mean time, to get around this, the solution is to change the author string by adding an action that adds a "temporary" to the author list, and then sort and remove the temporary string in the next action. Attached is a chain that does what I describe above. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Editor Plugin] Editor Chains | capink | Plugins | 120 | 12-25-2025 09:14 AM |
| Action Chains Resources | capink | Plugins | 80 | 09-18-2025 05:45 AM |
| [GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 04:15 PM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |