# Using both default and alternative DevonThink integration scripts in parallel?

**URL:** https://discourse.hookproductivity.com/t/using-both-default-and-alternative-devonthink-integration-scripts-in-parallel/5261
**Category:** Discussion & Help
**Created:** [June 18, 2022, 10:54am UTC](https://discourse.hookproductivity.com/t/using-both-default-and-alternative-devonthink-integration-scripts-in-parallel/5261 "2022-06-18T10:54:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AW2307](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/8c91f0/32.png) [@AW2307](https://discourse.hookproductivity.com/u/AW2307)
#### Post date: [June 18, 2022, 10:54am UTC](https://discourse.hookproductivity.com/t/using-both-default-and-alternative-devonthink-integration-scripts-in-parallel/5261/1 "2022-06-18T10:54:34Z")

</div>

Hi,

Is there any practical way of using the two different integration scripts available for DevonThink in parallel, as needed? Both have advantages in different use cases.

I tried selecting an item in DevonThink and running the alternative script via Keyboard Maestro, then selecting a file in Finder and using the “Hook to Copied Link” Shortcut. However, this doesn’t seem to be working.

---

<div class="post-metadata">

### Author: ![rkaplan](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/r/a3d4f5/32.png) [@rkaplan](https://discourse.hookproductivity.com/u/rkaplan)
#### Post date: [June 18, 2022, 6:09pm UTC](https://discourse.hookproductivity.com/t/using-both-default-and-alternative-devonthink-integration-scripts-in-parallel/5261/2 "2022-06-18T18:09:41Z")

</div>

What/where are the two different Devonthink integration scripts?

---

<div class="post-metadata">

### Author: ![AW2307](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/8c91f0/32.png) [@AW2307](https://discourse.hookproductivity.com/u/AW2307)
#### Post date: [June 18, 2022, 6:29pm UTC](https://discourse.hookproductivity.com/t/using-both-default-and-alternative-devonthink-integration-scripts-in-parallel/5261/3 "2022-06-18T18:29:09Z")

</div>

My understanding is that the alternative one uses the file location instead of the x-devonthink link, which can be useful for indexed database items. The link gets recognized both in DT and in third-party apps. See here for details: [Customizing Hook Integration with DEVONthink – Hook](https://hookproductivity.com/help/integration/devonthink-custom-script/)

I also noticed that the script posted by cgrunenberg in the DevonThink forums to enable deep linking is not currently included in Hook as the default “Get Address” DevonThink integration script. So that might also be worth checking out:

> **[Deep Linking Hook](https://discourse.devontechnologies.com/t/deep-linking-hook/69403/5)**
>
> Welcome, @LucB! In case of DEVONthink the x-devonthink-item:// scheme supports already additional parameters like page (zero-based page number) or time (offset in seconds in audio/video file). Such item links can be copied in the user interface via...

And I literally just posted an updated “Get Name” script over in the DT forums a couple minutes ago that might be of value:

> **[Script: Display deep linked PDF page number in Hook link title](https://discourse.devontechnologies.com/t/script-display-deep-linked-pdf-page-number-in-hook-link-title/71524)**
>
> Hi, I’ve been experimenting with Hook and came up with a script for enhancing deep links to PDF pages in DevonThink @LucB @cgrunenberg already offered a script for deep linking to PDF pages in this post. By adding this as a custom integration...
