wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.51k stars 72 forks source link

[Feature request] Create Zotero URL when dragging reference to Finder in MacOS #206

Open jakemkc opened 3 years ago

jakemkc commented 3 years ago

Hi wshanks,

Thanks for creating the wonderful plugin Zutilo for the Zotero community.

Of the many handy functions provided by Zutilo, creating a Zotero URL link for a reference is the most useful one for me -- through "Copy select item links"

I figured out that the default behavior when dragging a Zotero reference to the desktop is to create a "textClipping" file with the content of "QuickCopy items to clipboard", which is the full reference information. It is handy when it's dragging the reference to MS Word to create a quick reference list.

May I know is it possible to change the default behavior so to create a Zotero URL link file (*.inetloc) when dragging to Finder in MacOS?

I am using 2 other note applications (FSnotes and Obsidian). When dragging an item in these applications to desktop, they will create a URL file. Double clicking the file will open the application and select the target file.

The content of the *.inetloc is simple, basically just need the to provide a Zotero URL.

Here is an example of the *.inetloc file created by Obsidian:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>URL</key>
    <string>obsidian://open?vault=obsidian_sandbox&amp;file=DG%20Gardening%20%3E%2F101121%20DG%20progressive%20steps</string>
</dict>
</plist>

Best, Jake