![]() |
#46 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
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 06:14 AM. |
|
![]() |
![]() |
![]() |
#47 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
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 07:53 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
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).
|
![]() |
![]() |
![]() |
#49 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, new version fixed the broken configs. Thank you.
![]() |
![]() |
![]() |
![]() |
#50 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Misc tips
Last edited by capink; 04-13-2023 at 06:59 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
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": "" |
![]() |
![]() |
![]() |
#52 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#53 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 927
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
|
Quote:
You can manipulate the marked books hash directly in your plugin. Options I would suggest
|
|
![]() |
![]() |
![]() |
#54 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
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. |
|
![]() |
![]() |
![]() |
#55 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
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.
|
![]() |
![]() |
![]() |
#56 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
#57 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
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 08:37 AM. |
![]() |
![]() |
![]() |
#58 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
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 01:56 AM. |
![]() |
![]() |
![]() |
#59 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,131
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. |
![]() |
![]() |
![]() |
#60 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,120
Karma: 62844539
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 02:58 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 94 | 07-03-2024 07:26 PM |
Action Chains Resources | capink | Plugins | 65 | 07-01-2024 03:12 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 |