Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2023, 06:24 PM   #106
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Comfy.n View Post
wait, isn't @kiwidude in Australia?
He deserves holiday, rainy season SYD-CNX round trip flights are about $USD400
BetterRed is offline   Reply With Quote
Old 08-07-2023, 06:30 PM   #107
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by BetterRed View Post
He deserves holiday, rainy season SYD-CNX round trip flights are about $USD400
Comfy.n is offline   Reply With Quote
Advert
Old 08-09-2023, 05:19 AM   #108
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Lol. I did indeed relocate to Australia, no idea where Thailand came in the mix
kiwidude is offline   Reply With Quote
Old 03-16-2024, 11:25 PM   #109
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Favourites Menu v1.3.1

[Release Notes]
https://github.com/kiwidude68/calibr...es_menu-v1.3.1
kiwidude is offline   Reply With Quote
Old 03-29-2024, 08:57 PM   #110
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
I wish any action available to Favourites Menu could be added directly to Calibre toolbars! But I sense this would require another plugin, perhaps? Maybe on some rainy day?
Comfy.n is offline   Reply With Quote
Advert
Old 03-29-2024, 09:20 PM   #111
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Comfy.n View Post
I wish any action available to Favourites Menu could be added directly to Calibre toolbars! But I sense this would require another plugin, perhaps? Maybe on some rainy day?
I don't get what you are asking for - each plugin already has its own capability to specify what calibre toolbars it can be supported on. What else is there?
kiwidude is offline   Reply With Quote
Old 03-29-2024, 09:25 PM   #112
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
For instance, there are Preferences sub-menu items that aren't available to be added directly to the toolbars, such as Toolbars & Menus, Shortcuts, Plugins, Look & Feel... Then you also have all Action Chains, Reading Lists, Saved Searches and other actions whose buttons, despite being available to Favourite Menus as menu items, can't be added directly to Calibre toolbars
Comfy.n is offline   Reply With Quote
Old 03-29-2024, 09:30 PM   #113
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
You will have to ask Kovid elsewhere for that sort of capability i.e. specifically to allow a plugin to return multiple top-level shortcuts rather than a single one.
kiwidude is offline   Reply With Quote
Old 03-29-2024, 09:33 PM   #114
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
thanks, I'd thought about maybe something hackish that wouldn't imply a change in base-calibre
Comfy.n is offline   Reply With Quote
Old 03-29-2024, 09:47 PM   #115
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
The built-in toolbars are all part of the base calibre UI/codebase - plugins are at the mercy of what API points Kovid has exposed. Favorites Menu is as far as the "hack" approach can be taken while a plugin is limited to a single menu action in those toolbars.
kiwidude is offline   Reply With Quote
Old 03-29-2024, 10:48 PM   #116
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
Sometimes I feel I'm so addicted to Calibre that I wouldn't mind having it command some IOT maid robot to get me a beer upon a single toolbar button click
Comfy.n is offline   Reply With Quote
Old 03-29-2024, 11:21 PM   #117
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Two enhancements I'd like to see in Favourites, sub-menu's, and shortcut display if the action has one.

BR
BetterRed is offline   Reply With Quote
Old 03-30-2024, 07:49 AM   #118
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
I don't get what you are asking for - each plugin already has its own capability to specify what calibre toolbars it can be supported on. What else is there?
Quote:
Originally Posted by Comfy.n View Post
For instance, there are Preferences sub-menu items that aren't available to be added directly to the toolbars, such as Toolbars & Menus, Shortcuts, Plugins, Look & Feel... Then you also have all Action Chains, Reading Lists, Saved Searches and other actions whose buttons, despite being available to Favourite Menus as menu items, can't be added directly to Calibre toolbars
Quote:
Originally Posted by kiwidude View Post
You will have to ask Kovid elsewhere for that sort of capability i.e. specifically to allow a plugin to return multiple top-level shortcuts rather than a single one.
Unfortunately, this can't happen. Calibre's infrastructure allows adding "Actions" to toolbars etc, one instance of an action per destination. Action sub-menus and sub-commands cannot be added. You can see a list of bona fide actions in the "All GUI actions" menu.

It is in theory possible to make a UI plugin that executes a sub-action or sub-menu -- a variant of the favorites plugin. The user would choose which operation the plugin should do when triggered. The biggest problem: finding a way to get more than one of them, because the plugin is itself a single action. One would require multiple instances of the plugin to get multiple actions.
chaley is offline   Reply With Quote
Old 03-30-2024, 06:35 PM   #119
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Thanks chaley yes that is all as I expected being intentional limitations.

To me if the api cant be extended to support multiple actions, then the other alternative is building directly in calibre the equivalent of a “customize toolbar” command that some apps have like Visual Studio. Where the user is presented with a list of all the possible actions reported by plugins and each one they choose to add gets wrapped by this customize feature into a button action for the toolbar. That would be the ultimate to me - it does annoy me for instance that my #1 most frequent menu in calibre of viewing a reading list has to be navigated via a submenu so I can understand the request. But writing dedicated plugins for every example like that clearly is not scalable/practical.
kiwidude is offline   Reply With Quote
Old 03-30-2024, 07:10 PM   #120
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,002
Karma: 6422750
Join Date: Sep 2020
Device: Calibre E-book viewer
Quote:
Originally Posted by chaley View Post
It is in theory possible to make a UI plugin that executes a sub-action or sub-menu -- a variant of the favorites plugin. The user would choose which operation the plugin should do when triggered. The biggest problem: finding a way to get more than one of them, because the plugin is itself a single action. One would require multiple instances of the plugin to get multiple actions.
Quote:
Originally Posted by kiwidude View Post
But writing dedicated plugins for every example like that clearly is not scalable/practical.
Thanks for your detailed explanation! I had also thought of a plugin similar to FM, as chaley explains, but it would work more like a custom "plugin builder". User would choose which action they want to add to the toolbar, then this "plugin builder" would insert the toolbar buttons accordingly... Anyway, some restrictions need to be enforced by design on any software, I can understand that.

Last edited by Comfy.n; 03-30-2024 at 07:13 PM.
Comfy.n is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] EpubMerge JimmXinu Plugins 522 04-01-2024 10:25 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] FanFictionDownLoader JimmXinu Plugins 3985 05-08-2015 11:18 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:51 AM.


MobileRead.com is a privately owned, operated and funded community.