10-01-2021, 11:45 AM | #736 |
Custom User Title
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Is it possible for more than one level of submenuing? Menu/Submenu and Menu.Submenu just created a separate menu.
|
10-01-2021, 12:23 PM | #737 |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
|
Advert | |
|
10-09-2021, 04:53 AM | #738 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: Samsung Galaxy Tab S6
|
Is it possible to execute other chains from within a different one? I have a bunch of chains for parsing tags to add specific values to custom columns. It would be nice to be able to chain them sequentially on a single keypress, rather than taking up a dozen keys.
Also, is it possible to export chain configs? It would be nice to be able to backup/share my builds? |
10-10-2021, 07:05 AM | #739 | |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Quote:
Action Chains > Add/Modify Chains > Select the chain(s) you want to export > right click > export. |
|
10-14-2021, 06:36 PM | #740 | |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite, Kobo Libra 2
|
Using the Event Manager, is it possible to execute a chain after running the FanFicFare plugin?
I checked my Jobs list after running FanFicFare and it produces a download and a convert action. I think that if it could be checked that these two actions are executed, then it could trigger the chain execution. I am trying to use capink's post on the module editor: Quote:
Code:
return self.gui.search.changed Thank you! EDIT: The "Books Added" event works for this purpose. I had seen there was a wait time but I had not realised how long it was and I did not waited long enough for the action to be triggered. Last edited by Hortensia; 10-16-2021 at 05:29 PM. |
|
Advert | |
|
10-17-2021, 10:04 AM | #741 | |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Quote:
you should return only one signal per event. If you want the same event to be triggered in response to more than one signal, you have to create your own signal that is triggered by all the other signals, and return that signal in the get_event_signal() method. |
|
10-17-2021, 02:11 PM | #742 |
Custom User Title
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quick question: Making a quick keyboard-shortcut chain to show a saved search (using a selection modifier) and sort by a certain column (Calibre action for sort by). But if I run it more than once it errors:
Code:
Menu entry: Last Read (plugin_name: Sort By) cannot be found (I considered View Manager, but there's no option to just apply the sort and leave the columns alone.) EDIT: This might be because the sort action changes to "Sort By > ColumnName [reverse current sort]" after you run it once. Seeing as I'd prefer to always have it sort descending, would this still be better with a module? Last edited by ownedbycats; 10-18-2021 at 03:18 PM. |
10-21-2021, 10:57 AM | #743 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite, Kobo Libra 2
|
Chain Caller starting next action before previous one is ended
Thanks capink for your previous answer.
I have a chain relying on the Chain caller which does the following:
Does anyone know why this might be? As a workaround, I added "Confirm" actions between the problematic actions to "manually wait". In the first case, I wait for the progress bar of action 2 to be completed (Action Chains progress bar) and in the second case, I wait for the Calibre Jobs to be completed. |
10-23-2021, 02:54 AM | #744 |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
|
10-23-2021, 07:23 AM | #745 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite, Kobo Libra 2
|
Thank you!
It solves the problem for the chain no. (2) but not for the no. (4). I will leave my confirmation check then. EDIT: When sending books to the device (chain no. 4), the option "Wait until any jobs started by selected action finishes" does wait for the books to be sent to the device but not for the subsequent action of "Sending metadata to device". Last edited by Hortensia; 10-25-2021 at 06:11 PM. |
11-18-2021, 05:06 PM | #746 |
Custom User Title
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Can Selection Modifier be used to re-do the currently existing search, regardless of what it is? Mostly to remove now-invalid entries from the search after changing metadata - resorting doesn't do this.
|
11-19-2021, 02:20 AM | #747 | |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
from calibre_plugins.action_chains.actions.base import ChainAction class RefreshSearch(ChainAction): name = 'Refresh Current Search' def run(self, gui, settings, chain): gui.search.do_search() |
|
11-19-2021, 12:39 PM | #748 |
Custom User Title
Posts: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
|
11-22-2021, 12:42 PM | #749 |
Enthusiast
Posts: 33
Karma: 2114
Join Date: Nov 2021
Device: kindle
|
Impressive plugin, it has been very useful to me
|
11-23-2021, 04:01 AM | #750 |
Wizard
Posts: 1,092
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 86 | Yesterday 05:54 PM |
Action Chains Resources | capink | Plugins | 54 | 01-29-2024 11:24 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 |