|
|
#1516 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
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: 31
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 06:53 PM. |
|
|
|
|
|
#1518 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,361
Karma: 79528341
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: 486
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,361
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
|
|
|
|
|
#1521 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
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 08:04 AM. |
|
|
|
|
|
#1522 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
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 01:21 PM. |
||
|
|
|
|
|
#1523 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
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,361
Karma: 79528341
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 01:17 PM. |
|
|
|
|
|
#1525 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,789
Karma: 150249619
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,361
Karma: 79528341
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 05:33 PM. |
|
|
|
|
|
#1527 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,216
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 04:58 PM. |
|
|
|
|
|
|
#1528 | |
|
Member
![]() Posts: 20
Karma: 10
Join Date: Dec 2024
Device: kobo clara bw
|
Quote:
|
|
|
|
|
|
|
#1529 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,789
Karma: 150249619
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,361
Karma: 79528341
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 08:54 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Action Chains Resources | capink | Plugins | 80 | 09-18-2025 05:45 AM |
| [Editor Plugin] Editor Chains | capink | Plugins | 106 | 06-17-2025 06:36 PM |
| [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 |