![]() |
#1516 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,207
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Without writing a specific module for this, the quick and dirty way is to use a "Run Python Code" action with this code:
|
![]() |
![]() |
![]() |
#1517 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Jul 2025
Device: paperwhite
|
Is it possible to have an action chain trigger automatically when I perform a certain action, like rating a book?
I've seen users sharing action chains as zip files. How can I import and export those JSON files into an action chain? Last edited by Far_Pen_6884; 08-02-2025 at 05:53 PM. |
![]() |
![]() |
![]() |
#1518 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,158
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Event Manager in menu.
Right-click chain in Manage Chains. |
![]() |
![]() |
![]() |
#1519 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 452
Karma: 678910
Join Date: Dec 2017
Device: Kobo
|
I share a user module: Re-calc Book Size
It's a little module to re-calc the size column of a book. Useful if you've had edited the book files by a third-party program. https://www.mobileread.com/forums/sh...65#post4529065 |
![]() |
![]() |
![]() |
#1520 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,158
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#1521 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Is there an existing module or action that will open an input dialog to get a line of text? It is easy enough to do as a python action, getting the text and dropping it into a global, but why reinvent the wheel?
Another question: is there currently a way to use the current search as a temporary VL? This is done manually by clicking on VL and then "*current search". Again, this is straightforward to do with a python template, but ... Last edited by chaley; 08-20-2025 at 07:04 AM. |
![]() |
![]() |
![]() |
#1522 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,207
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
Currently, the quick and dirty way is a "Run Python Action"
A dedicated action would provide a config widget with combobox to choose from the available vls and restrictions. Last edited by capink; 08-20-2025 at 12:21 PM. |
||
![]() |
![]() |
![]() |
#1523 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@capink: thanks. I did what I needed using the interactive selection of chain variables. It works well. I would rather that a single click on the value cell opened the editor, but a double click works.
The chain is documented in this post. |
![]() |
![]() |
![]() |
#1524 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,158
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
My Cleanup: General chain I have set to selection_count() = 1 because I didn't really design it for multiple books.
Is a way to make a second chain where I can use to select multiple books and Chain Caller on each book separately? Last edited by ownedbycats; 09-07-2025 at 12:17 PM. |
![]() |
![]() |
![]() |
#1525 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,207
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What happens if you set selection_count() > 1?
|
![]() |
![]() |
![]() |
#1526 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,158
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Would mess up the chain. I have to run the action for each book. Would like a way to automate that for when I have many books to process.
Last edited by ownedbycats; 09-08-2025 at 04:33 PM. |
![]() |
![]() |
![]() |
#1527 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,207
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Note: If you want to select books, instead of using scopes, you can use "Search Using Templates" action at the top of the target chain:
This is the closest thing to loop mechanism currently available for "Action Chains". Last edited by capink; 09-08-2025 at 03:58 PM. |
|
![]() |
![]() |
![]() |
#1528 | |
Member
![]() Posts: 16
Karma: 10
Join Date: Dec 2024
Device: kobo clara bw
|
Quote:
|
|
![]() |
![]() |
![]() |
#1529 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,207
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#1530 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,158
Karma: 77304081
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Some of the actions have conditionals (for example, run Extract ISBN only if book has no existing ISBN identifier). It doesn't quite work right when some book matches conditionals and others don't.
Last edited by ownedbycats; 09-12-2025 at 07:54 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |