petervelosy / freeplane-zotero

A Freeplane addon which makes it possible to assign citations from Zotero to any node on a Freeplane mind map.
GNU General Public License v3.0
17 stars 1 forks source link

FR - Add to the menu #6

Closed bepolymathe closed 1 year ago

bepolymathe commented 1 year ago

Hi @petervelosy

Nice to with a mouse but when you’re keyboard friendly like me, it would be great to be able to assign a shortcut to "assign citation(s) to node" command. I think it is not possible if the command is not in a main menu (tools --» Zotero for ex). I don't know what you think about it...

petervelosy commented 1 year ago

Adding the actions to the main menu as well is a great suggestion! However, I haven't found an elegant way to assign a script of an addon to multiple Freeplane menu locations (see my question here: https://github.com/freeplane/freeplane/discussions/967).

There is a somewhat unelegant workaround: to duplicate the scripts under different file names inside the addon and assign different menu positions to them. This seems to work. Unless someone from the Freeplane community suggests a better way, I will implement it, as it indeed improves usability.

The good news is though: Freeplane allows using the "Assign hot key" feature on context menu items too! :-) So you can set hotkeys to every freeplane-zotero action.

bepolymathe commented 1 year ago

This seems to work. Unless someone from the Freeplane community suggests a better way, I will implement it, as it indeed improves usability.

I have to check this in lilive ou macmarrum scripts...

bepolymathe commented 1 year ago

The good news is though: Freeplane allows using the \"Assign hot key\" feature on context menu items too! :-) So you can set hotkeys to every freeplane-zotero action.

Really 🙃. I never find a way to do this... CTRL + click on context menu entry doesn't work for me.

petervelosy commented 1 year ago

The good news is though: Freeplane allows using the "Assign hot key" feature on context menu items too! :-) So you can set hotkeys to every freeplane-zotero action.

Really upside_down_face. I never find a way to do this... CTRL + click on context menu entry doesn't work for me.

Ctrl+click indeed doesn't work, but the following does: Tools > Assign hot key and then keep the dialog, that appears, open while clicking on the context menu item.

bepolymathe commented 1 year ago

So simple 🤣. Thanks 😃