View Single Post
Old 08-06-2022, 05:02 AM   #904
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
Quote:
Originally Posted by capink View Post
I don't understand exactly what you want to do. But I have two things to point out:


  • While Action Chains has an event manager that makes it possible to launch chains in reaction to certain events, it does not currently have an event that is triggrered by modifying book(s). I decided no to include such an event because it is not uncommon for a lot of books to modified successively very rapidly (some examples of this are the check quality and modify epubs plugins). Having chains launched in response to event that can be fired multiple times per second can wreak havoc.



    One solution for this would be caching the events and and firing one event for all books when calibre is idle. However, this is in the future for now.




  • What you can do is include the modifying actions as a part of chain, and adding your search/replace action at the end of same chain. You can use the Editor Chains plugin to search/replace supported formats from Action Chains. It has an action that can use saved searches from the calibre editor for this.


Thank you.

I will explore the Editor Chains. Didn't know it exist.

Sent from my GM1910 using Tapatalk
nqk is offline   Reply With Quote