Reading List: Copy Item Link as Markdown

Hi. Found on DTTG, from the Reading List, I can “Copy Item Link as Markdown”. But the same function is not available on DTP. Perhaps I am missing something. Even selecting Reveal to show the item location, I see no option for CILM.

CILM allows me to add the link to a list in Drafts (or Notebooks) where I can organize and prioritize my reading. Then when I want to read an item I can just open the document from the link in Drafts (works on iPad and Macbook).

Any guidance is welcome to CILM from the Reading List (or anywhere else) on DT desktop.

If it is not available, please add it to your development wishlist. Thank you.

1 Like

Thank you for the feedback! It’s not available on the Mac and actually the first request of its kind, in DEVONthink this is usually automatically handled when inserting a copied link.

Not sure why other Markdown apps don’t do this, copying a formatted link sounds like a workaround as the information available on the clipboard (name & URL) is sufficient (and used as expected by e.g. rich text editors, Word or Pages)

Have you talked to those developers to ask them to support dynamically creating the appropriately formed link from the clipboard data? As Criss noted, the data is there and is used by TextEdit, etc.

Perhaps there is a failure on my part to communicate the right message. So I have made an image to help clarify the desired end-state.

No, your suggestion is understood and has been noted.

However, my question still stands: Have you contacted the developers of those other applications to request they process the clipboard contents to create well-formed links when pasting? As noted, the data is available and is used in rich text applications like TextEdit, etc.

I have confirmed that “copy item link” from DTP pasted to TextEdit (MAC) does paste 'well-formed links".

At the same time, I have confirmed that neither Microsoft Word, Apple Pages, Drafts or Notebooks paste “well-formed links”. Only the item link (not the item name) is pasted.

Using TextEdit as an intermediary, pasting to it and the copying from it, then pasting to Word and Pages, does carry over the “well-formed link”.

Also this is a very simple thing to accomplish via scripting so there’s no need for development to implement this (unless they decided to). (And the automation capabilities on a Mac exceed those in Apple’s mobile platforms so many solutions for DEVONthink can be created by the individual.)

  1. Quit DEVONthink.
  2. Download and unzip the attached file.
  3. In the Finder, select the ​Go ​menu while holding the ​Option key​, then choose ​Library​.
  4. Open Application Scripts/com.devon-technologies.think3/Toolbar and drop in the script.
  5. Launch DEVONthink.
  6. Select View > Customize Toolbar.
  7. Drag and drop the Clip MD toolbar button to your chosen place on the toolbar and close the toolbar options.
  8. Select an item in DEVONthink and press the Clip MD button.
  9. Paste into Drafts or whatever Markdown app you’re using.

Note: If the item is an image, the link will be appropriately formatted.

Clip MD.scpt.zip (2.5 KB)

Do note this is only processing one item selected in the item list.

5 Likes

Done. Works. Thank you! :smiley:

You’re welcome :slight_smile:

This is exactly what I needed. What’s the best way to add a keyboard shortcut to the script? The normal procedure adding Keyboard Shortcuts in Apple System Preferences does not seem to recognise scripts.

I solved it. I copied the script to the “Edit” script folder and could add it in System Preferences - App Shortcuts.

Grate! Very helpful! Thank you. :smiley:

Welcome @wispit
Glad to hear it is useful to you :slight_smile:

Brilliant Jim!

I have waited too long to check this out. Relied on using DTTG on my ipad pro (not a bad decision - but it was making DT3 ‘inferior’ to DTTG :wink: )

I drop the MD link into Craft - it is then nicely formatted and opens the link in DT3. Great for making lists of books in pdf (on the same topic) that I hold in various places in DT3.

Merry Christmas

1 Like

Glad it’s useful to you also.
Merry Christmas to you and yours as well! :heart: :slight_smile: