# Deep linking to specific rows of an OmniOutliner document

**URL:** https://discourse.hookproductivity.com/t/deep-linking-to-specific-rows-of-an-omnioutliner-document/6733
**Category:** Discussion & Help
**Created:** [May 6, 2023, 11:54pm UTC](https://discourse.hookproductivity.com/t/deep-linking-to-specific-rows-of-an-omnioutliner-document/6733 "2023-05-06T23:54:22Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)
#### Post date: [May 11, 2023, 10:59pm UTC](https://discourse.hookproductivity.com/t/deep-linking-to-specific-rows-of-an-omnioutliner-document/6733/21 "2023-05-11T22:59:48Z")

</div>

> [@LucB](#):
>
> I’ll share the old script in a moment.

Here is the previous [“Get Address” script](https://hookproductivity.com/help/integration/creating-integration-scripts/), which does not yield deep links.

```auto
use scripting additions
use framework "Foundation"
property NSURL : a reference to current application's NSURL

tell application id "com.omnigroup.OmniOutliner5"
	set f to file of front document
	set p to POSIX path of f
	if (package folder of (info for p) is true) and (character -1 of p is "/") then
		-- package, chomp trailing '/'
		set p to (characters 1 through -2 of p) as string
	end if
	
	set rawUrl to NSURL's fileURLWithPath:p
	set p to rawUrl's absoluteString
	
	
	set filepath to (p as string)
	
	
	return filepath
end tell

```

---

<div class="post-metadata">

### Author: ![Joe12](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/j/ecb155/32.png) [@Joe12](https://discourse.hookproductivity.com/u/Joe12)
#### Post date: [June 19, 2023, 2:36pm UTC](https://discourse.hookproductivity.com/t/deep-linking-to-specific-rows-of-an-omnioutliner-document/6733/22 "2023-06-19T14:36:03Z")

</div>

Sorry for the delay in acknowledging and responding to your feedback. All very helpful.  
The new deep-linking feature is great!

[Previous page](https://discourse.hookproductivity.com/t/deep-linking-to-specific-rows-of-an-omnioutliner-document/6733.md?page=1)
