This no longer works with Zotero version 7, because Zutilo is not yet supported.
This functionality can probably be implemented with the Actions and Tags extension, but I don't have time to come up with a correct script to do it.
The doi-link-quickcopy.js file in this repository will enable a new QuickCopy
functionality in Zotero, analogous to "Copy Selected
Items to Clipboard" and "Copy Selected Items Citations to Clipboard" (that are
both present by default). The functionality consists of copying to the OS
clipboard the DOI links of all selected items in the main panel.
I copy DOI links from Zotero many times a day to paste them in emails and notes. For such short writings performed in applications that automatically make links clickable, the citation and bibliography generation facilities of Zotero are overkill, and I find myself constantly right-clicking to copy DOI links. A keyboard shortcut is a lot faster to use, and implementing this functionality with an export translator also automatically makes it possible to copy not only one DOI link of one selected item, but also a list of DOI links of several selected items.
Unfortunately, installation is not user-friendly at all.
- If Zotero is running, quit it.
- Download
doi-link-quickcopy.jsfrom this repository and place it into$ZOTERO_DATA_DIR/translators. - Start Zotero.
- If you don't already have the Zutilo extension, install it.
- Open Zotero preferences, go to the
Advancedtab and theGeneralsub-tab, click onConfig Editorto open the advanced configuration options, acknowledge the warning. - If you don't already have custom quick copy functions, skip this step. If you
already use the quick copy functionality and all your quick copy functions
are in use, start by entering in the advanced configuration editor's search
bar
extensions.zutilo.copyItems_alt_totaland increase the number of quick copy functions to accomodate the additional one you will add next. - In the advanced configuration editor's search bar, enter
extensions.zutilo.quickcopy_altN(in whichNis the number of a quick copy function not currently in use; if you skipped the previous step, you can use1or2, as they should both be available if you don't already have any quick copy function). Double-click on the blankValuefield, enter the following value and validate:export=d5bb4cc3-8334-4bbc-a5f0-fe66317c88e8. - Open Zutilo preferences, go to the
Shortcutstab, find the shortcut calledQuick Copy items (alt N)(in whichNis the same number as you chose in the previous step) and choose a keyboard shortcut for it. I like usingCmd + Shift + Dbecause it is similar toCmd + Shift + C(Copy Selected Items to Clipboard) and has a "D" as in "DOI".