11-26-2020, 10:21 PM | #46 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
Update: Apparently menu action for show marked books changes based on the number of the currently marked books, making the saved value in the chain invalid whenever the number of marked books change. I will see how to fix this tomorrow. Last edited by capink; 11-27-2020 at 07:14 AM. |
|
11-26-2020, 10:36 PM | #47 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Custom actions list
Here is a list of custom actions posted on this thread:
Here is a list of custom events posted on this thread: Last edited by capink; 08-26-2021 at 08:53 AM. |
Advert | |
|
11-26-2020, 10:38 PM | #48 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Yes. More oddities: When first starting a Calibre session, it's "Show marked books" with no number. The (0) appears after marking then unmarking. A single marked book shows up as "Show marked book" (no number).
|
11-26-2020, 10:39 PM | #49 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, new version fixed the broken configs. Thank you.
|
11-26-2020, 10:41 PM | #50 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Misc tips
Last edited by capink; 04-13-2023 at 07:59 PM. |
Advert | |
|
11-26-2020, 10:42 PM | #51 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, Reading List's Calibre Action has a different name entirely from the menu (View Fanfiction list (x)), which is why it worked when Mark Books failed:
Code:
"active": true, "chain_settings": { "chain_links": [ { "action_name": "Calibre Actions", "action_settings": [ { "display": "View list: Fanfiction", "path": [ "Reading List", "View list: Fanfiction" ] } ] } ] }, "image": "", "menuText": "Reading List Test", "subMenu": "" |
11-27-2020, 10:51 AM | #52 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
11-27-2020, 11:37 AM | #53 | |
Guru
Posts: 962
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Quote:
You can manipulate the marked books hash directly in your plugin. Options I would suggest
|
|
11-27-2020, 12:02 PM | #54 | |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
In light of this, deleting all marks (from all sources) is something that I'd like to leave to the user to decide according to his needs. That option is already there. |
|
11-27-2020, 02:35 PM | #55 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Hmm, adding Show Marked Books to the Favourites menu and then changing the number of marked books greys it out.
|
11-27-2020, 03:43 PM | #56 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
|
11-27-2020, 08:09 PM | #57 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
New version attached to the first post
Version 0.1.2
Notes about the using the marked field:
Note
Last edited by capink; 11-28-2020 at 09:37 AM. |
11-30-2020, 02:53 AM | #58 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I ran into a very silly bug. If you make an action chain with no actions and then try to run it, you get an error instead of a message box saying "add some actions to this, you dimwit."
Last edited by ownedbycats; 11-30-2020 at 02:56 AM. |
11-30-2020, 03:38 PM | #59 |
Wizard
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Here is a new test version of this plugin:
On the surface, this might not look like a major update, but a lot of the underlying code has been re-written. So, you are advised to backup your "Action Chains.json" file, just in case something goes wrong. The file can be found in calibre's plugin directory. |
11-30-2020, 03:43 PM | #60 |
Custom User Title
Posts: 9,771
Karma: 68326525
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I updated with no harm to my prior action chains.
The main thing I noticed is that the "Add Actions" window is initially very tiny and I had to widen it to even be able to see the comments and error columns, but that might be because the settings carried over from the old version. Personally I'd put "Settings" to the right of "Comment," but that's personal preference. (Making the columns movable would work.) Column widths reset every time I re-open the dialog. Default width for "Action" column is a bit wide too. Adding comments to all my actions now. It'll be nice to not have to guess which one I need to open. Last edited by ownedbycats; 11-30-2020 at 03:58 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Action Chains Resources | capink | Plugins | 66 | 11-10-2024 08:13 PM |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 08:26 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 |