Zutilo icon indicating copy to clipboard operation
Zutilo copied to clipboard

Shortcut to open URL ("View online")

Open stefanct opened this issue 5 years ago • 7 comments

There exists a native action in Zotero that opens the URL of a library item (if set to the URL field of that item). It is available via the "locate" menu above the item's tabs). Being able to invoke this via a shortcut would be great

stefanct avatar Feb 04 '20 14:02 stefanct

I think that should be easy to add. It is just a question of searching through the Zotero code and finding the function that is called for that menu item.

wshanks avatar Feb 07 '20 16:02 wshanks

I have noticed in the meantime that having a shortcut for opening the attached PDF (for which there is another button) would be nice too ;) Both (and more) are defined in Zotero's chrome/content/zotero/locateMenu.js.

stefanct avatar Feb 07 '20 17:02 stefanct

Thanks, from looking at that file, I see how to make this and #117 work. The solution is not straightforward because Zotero wraps the menu functions inside a closure. I might see if the Zotero developers would be okay exposing them publicly so Zutilo can access them directly.

wshanks avatar Feb 10 '20 04:02 wshanks

I opened https://github.com/zotero/zotero/pull/1785 related to this. If that does not get merged, I can implement the workaround I describe there of creating a dummy menu and pseudo-clicking the view online entry.

wshanks avatar Feb 14 '20 22:02 wshanks

Is there any news on this front? I'd like to setup a shortcut for "view online" too

vitlib avatar Oct 22 '20 11:10 vitlib

I was wondering whether there are still plans to develop this feature. I managed to set keyboard shortcuts for all the commands I use regularly, with the exception of "view online".

benthamite avatar Jul 04 '21 17:07 benthamite

I would love it right now for opening multiple web pages, as well.
If I know I want to look at dozens of pages on more than one occasion, it would be wonderful to have them together in a folder or by tags or search, and then be able to highlight all of them and click or press something once to have the URLs all open in the default browser.

mwm-cbus avatar Jul 14 '22 14:07 mwm-cbus