# Devonthink Deep Linking Update

**URL:** https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352
**Category:** Discussion & Help
**Created:** [February 9, 2023, 1:53pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352 "2023-02-09T13:53:15Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![langley](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@langley](https://discourse.hookproductivity.com/u/langley)
#### Post date: [February 9, 2023, 1:53pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/1 "2023-02-09T13:53:15Z")

</div>

Hello. It was great to see that Devonthink have pushed an update which allows for deep linking. See here: [DEVONtechnologies | DEVONthink 3.9](https://www.devontechnologies.com/blog/devonthink-39)

It would be good to know whether this can be integrated directly within hook in some way. Is that possible?

Thanks

---

<div class="post-metadata">

### Author: ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)
#### Post date: [February 16, 2023, 1:08am UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/2 "2023-02-16T01:08:51Z")

</div>

@langley Sorry for the late reply.  
If there is AppleScript for getting that url, Hookmark is able to directly integrate with it. I just checked DevonThink 3.9’s AppleScript dictionary, It seems it is not there yet. For now, you can use Hookmark’s Hook to copied link function. After you copy the DevonThink deep link, you invoke Hookmark on the document that you want to link to DevonThink deep link, then click on Hook to copied link button or type shortcut command+v.

---

<div class="post-metadata">

### Author: ![tylermcrae7](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tylermcrae7](https://discourse.hookproductivity.com/u/tylermcrae7)
#### Post date: [March 16, 2024, 12:07am UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/3 "2024-03-16T00:07:13Z")

</div>

Did anyone ever figure this one out? I am interested in PDF Deeplinking in Devonthink. I have been unable to get it working thus far, but I think Devonthink does have a way to get/generate the selection link via applescript.

---

<div class="post-metadata">

### Author: ![langley](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@langley](https://discourse.hookproductivity.com/u/langley)
#### Post date: [March 16, 2024, 7:34am UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/4 "2024-03-16T07:34:17Z")

</div>

Not via Hook, but I now use Popclip for this with a custom extension. I can highlight text in Devonthink and Popclip gives me an option to create a selection link from a mouse click.

---

<div class="post-metadata">

### Author: ![yfs](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yfs](https://discourse.hookproductivity.com/u/yfs)
#### Post date: [March 16, 2024, 4:57pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/5 "2024-03-16T16:57:11Z")

</div>

Could you post the popclip extension?

---

<div class="post-metadata">

### Author: ![langley](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@langley](https://discourse.hookproductivity.com/u/langley)
#### Post date: [March 16, 2024, 5:50pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/6 "2024-03-16T17:50:57Z")

</div>

> # popclip  
> name: DT Copy Selection Link  
> icon: iconify:game-icons:nautilus-shell  
> key combo: shift control option command C  
> required apps: [com.devon-technologies.think3]

This gives it a nautilus shell icon too

---

<div class="post-metadata">

### Author: ![yfs](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yfs](https://discourse.hookproductivity.com/u/yfs)
#### Post date: [March 16, 2024, 8:33pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/7 "2024-03-16T20:33:25Z")

</div>

Works like a charm! Many thanks

---

<div class="post-metadata">

### Author: ![tylermcrae7](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tylermcrae7](https://discourse.hookproductivity.com/u/tylermcrae7)
#### Post date: [March 20, 2024, 1:11am UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/8 "2024-03-20T01:11:23Z")

</div>

Hello! It does look like there may be a way with AppleScript to now generate these links for different types of documents in Devonthink. Here is an image of the dictionary that shows what the developers of Devonthink added. It looks like you can append different parameters to the reference url. I just wanted to ping you on it so you can potentially add it in a future Hookmark script update. Thanks!

 ![CleanShot 2024-03-19 at 20.05.06@2x](https://discourse.hookproductivity.com/uploads/default/original/2X/f/fc174d2a3cbab7250ec265790c99780347e4c3bb.jpeg)

---

<div class="post-metadata">

### Author: ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)
#### Post date: [March 20, 2024, 3:35am UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/9 "2024-03-20T03:35:24Z")

</div>

Thank you, @tylermcrae7 .

You are right. We will work on it.

---

<div class="post-metadata">

### Author: ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)
#### Post date: [March 21, 2024, 3:07pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/10 "2024-03-21T15:07:35Z")

</div>

We have updated the script server (version 321) with the support for Devonthink Deep Linking.

Could you please update Hookmark script and give it a try?

Please let us know if there is any problem.

Thank you

---

<div class="post-metadata">

### Author: ![arthurwerry](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@arthurwerry](https://discourse.hookproductivity.com/u/arthurwerry)
#### Post date: [March 21, 2024, 3:27pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/11 "2024-03-21T15:27:29Z")

</div>

Could you give the specific steps in DT to create a deep link? I want to make sure I am doing it correctly. Thank you.

---

<div class="post-metadata">

### Author: ![yfs](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yfs](https://discourse.hookproductivity.com/u/yfs)
#### Post date: [March 21, 2024, 3:51pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/12 "2024-03-21T15:51:56Z")

</div>

> [@bchend](#):
>
> We have updated the script server (version 321) with the support for Devonthink Deep Linking.

Great, thanks! Could this be used to deep-link not only pdf, but also other documents? Like Word docs or email stored in DNT?

---

<div class="post-metadata">

### Author: ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)
#### Post date: [March 21, 2024, 4:09pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/13 "2024-03-21T16:09:51Z")

</div>

Here is what I found, @yfs , @arthurwerry . For pdf document, you can get deep linking to pages, or you can get deep linking to a specific location by selecting some text.

For text documents, you can get deep linking to lines. Selecting text does not get you more information.

For entries like email and web pages, no deep linking.

But I am not a Devonthink expert, other users can correct me if I am wrong.

Thank you

---

<div class="post-metadata">

### Author: ![tylermcrae7](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tylermcrae7](https://discourse.hookproductivity.com/u/tylermcrae7)
#### Post date: [April 3, 2024, 1:35pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/14 "2024-04-03T13:35:00Z")

</div>

Sorry I am just not getting back to this. Everything is working as expected from my side! Thanks so much!

---

<div class="post-metadata">

### Author: ![tylermcrae7](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@tylermcrae7](https://discourse.hookproductivity.com/u/tylermcrae7)
#### Post date: [April 3, 2024, 1:43pm UTC](https://discourse.hookproductivity.com/t/devonthink-deep-linking-update/6352/15 "2024-04-03T13:43:43Z")

</div>

I’m not sure exactly how it all works, but it does appear you can deep link to emails using some kind of identifier and the line parameter. Hookmark already generates the link that works for deeplinking email from what I can see. Just thought I would share!
