Pasting URL from Devonthink into TB - link not working

Hi guys, forgive me if this question has been asked before. I use Devonthink to review PDF files. I highlight sections or annotate the document in DT and then create links from those annotations or pages which I paste into relevant notes in TB. Up until very recently this worked fine. For some reason, when I paste those links in TB they do not open the relevant section or page of DT. I have to ‘right click’ the link in TB, ‘edit link’, ‘ok’ it and then it becomes clickable and opens my DT document. It’s a work around but I can’t understand why this has stopped working as it initially did when I was able to simply cut and paste. Thank you guys. D

hi @DLS i can replicate this and suggest contacting @eastgate upon this via eMail bernstein@eastgate.com.

Without a test document it is a little unclear what’s happening. From the description this sounds like adding links that use the DEVONthink pseudo-protocol, and which when pasted into $Text are not being auto-recognised as web links.

By default Tinderbox recognised pasted-in (pseudo) URLS and adopts them as Tinderbox web links. The scope of that behaviour can be controlled via the $SmartLinks system attribute. If pasting in a URL at the end of $Text (or the end of a paragraph, the auto-detection may sometimes not trigger as the next ($Text) input appears to be the trigger for processing the detected URL. I find at if the URL is not detected, typing a Return character after the URL (and, if needed, a Backspace to then remove the latter. Whilst it’s easy to assume this process should ‘just’ work, but IIRC the current behaviour took some tuning to get the balance between non-detection and over-aggressive detection getting in the way of other things.

It might be useful is someone posted an example of the problematic URL data (so we can test) and describe the exact context of use: pasted into Displayed Attributes, $Text, etc.? Simply pasting into a note is open to several differing scenarios. If pasting into $Text, where in the $Text? At the end, of into the body of existing test?

†. Web links are those links in $Text terminating outside Tinderbox, and so included file:// and other app-specific pseudo-protocols as offered by apps like DEVONthink, Bookends, etc.

What release of DEVONthink are you using?

DT 3 at the moment but will be upgrading to 4 soon.

…and where are you pasting the link? Into the text pane?

This in a way works (thank you @mwra) … or clicking out of the note and back in …

1 Like

I suspect the challenge forthe app is knowing that the user has finished inputting the URL. They might paste a partial URL and then need to type some parameters on the end, so an overly aggressive close/detection might make such input difficult. Thus, it helps if we, the user, signal we are done (Return, space, period, whatever). Just pasting a URL and then nothing after it presents (unintended) ambiguity for the app—even if we know what we intended. :slight_smile:

1 Like

Yes, in the text pane. So, when I paste the URL into the text pane it pastes the name of the file in DT. Previously, you would get a link that looked like this - “x-devonthink-item://729FC87E-132B-4A93-AF3D-2E0C528BB754?page=0”. I can make the link workable but only if I highlight the pasted link, right click to edit it (which brings up the the full URL) and then OK it. Sorry if this isn’t making much sense. I don’t have the higher level computer skills you guys do.

It’s not computer skills! We just need to pin down precisely what you’re doing.

I think this is actually a small change in the way DEVONthink manages Copy. But I’ll take a look and see what can be done. For your immediate needs, it like you have a viable if inconvenient workaround.