# Hook links now possible to underlying note

**URL:** <https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523>\
**Category:** Workflows & Templates\
**Created:** [July 22, 2020, 1:53pm UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523 "2020-07-22T13:53:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haberjr](https://forum.obsidian.md/user_avatar/forum.obsidian.md/haberjr/32/1389_2.png) [@Haberjr](https://forum.obsidian.md/u/Haberjr)\
**Post date:** [July 22, 2020, 1:53pm UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/1 "2020-07-22T13:53:49Z")

</div>

Continuing the discussion from [Obsidian Release v0.8.1 (insider build)](https://forum.obsidian.md/t/obsidian-release-v0-8-1-insider-build/3487):

Thank you for the outliner plugin and now making it possible with a right-click to either open the note with a default md app, or to open the folder in which the flie is located. This makes it now possible to create a hook link ([[hookproductivity.com](http://hookproductivity.com)]([http://hook](http://hook) [productivity.com](http://productivity.com))) so I can link the file to another file from another application.

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [July 22, 2020, 2:13pm UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/2 "2020-07-22T14:13:41Z")

</div>

Neat!

If I understand correctly, though, this is more a workaround than anything—it’s not yet possible to Hook into a note inside Obsidian, right? You’re creating Hook links to the file on the filesystem and then opening it in other applications?

---

<div class="post-metadata">

**Author:** ![Haberjr](https://forum.obsidian.md/user_avatar/forum.obsidian.md/haberjr/32/1389_2.png) [@Haberjr](https://forum.obsidian.md/u/Haberjr)\
**Post date:** [July 22, 2020, 2:21pm UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/3 "2020-07-22T14:21:54Z")

</div>

Correct it is a workaround that was actually always possible - but this makes it easier and more elegant compared to the crude way I had to do it.

---

<div class="post-metadata">

**Author:** ![AutonomyGaps](https://forum.obsidian.md/user_avatar/forum.obsidian.md/autonomygaps/32/2462_2.png) [@AutonomyGaps](https://forum.obsidian.md/u/AutonomyGaps)\
**Post date:** [July 24, 2020, 11:53am UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/4 "2020-07-24T11:53:59Z")

</div>

This does require briefly opening Finder to create the Hook link, but here’s a way to make it fairly painless…

> [@Compatibility with Hook Productivity on Mac OS](https://forum.obsidian.md/t/compatibility-with-hook-productivity-on-mac-os/2021/11):
>
> Indeed, this is a huge step forward, also in connection with earlier requests! The development team at Obsidian is really cranking out the meaningful improvements. Here’s how I’m already using this: on macOS: From Obsidian, use the “Show in Folder” command (via a hotkey ⌘⌥-O), which opens up the Finder with currently focal Obsidian note selected in Finder. Show the Hook window for the selected file, and then select “Copy Markdown Link” (I use hyperkey, ⌘⌥⌃⇧, with ;for that). Now I have a mark…

---

<div class="post-metadata">

**Author:** ![AutonomyGaps](https://forum.obsidian.md/user_avatar/forum.obsidian.md/autonomygaps/32/2462_2.png) [@AutonomyGaps](https://forum.obsidian.md/u/AutonomyGaps)\
**Post date:** [July 24, 2020, 11:58am UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/5 "2020-07-24T11:58:01Z")

</div>

Perhaps someone better at Keyboard Maestro – @ryanjamurphy ? – can help with this:

As I just wrote, I’m very happy about “Show in Folder.” What I’d really like to use this for, however, is putting onto my clipboard a link to the current Obsidian note, so that when I navigate to another note or a create a new one, I can start by pasting a link to the note I will just have come from. I’m now trying to do that (on macOS) with a Keyboard Maestro macro to do the following, but I’m having trouble getting “Get File Attribute” to work. Here’s what I’m looking to do:

1. From Obsidian, use the “Show in Folder” command (I use ⌘⌥-O as a hotkey), which opens up the Finder with currently focal Obsidian note selected in Finder.
2. Get the filename from the selected file (ideally only the “base name” of the file, without the .md extension)
3. Add Wiki-brackets to the result `[[base filename]]` in the clipboard (could also be done later, during the pasting)
4. At that point, I can navigate to another note in Obsidian, and paste the link, as a bidirectional backlink.

Any thoughts on how to get this to work? Perhaps a feature request for a plugin?

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [November 21, 2020, 11:30am UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/6 "2020-11-21T11:30:44Z")

</div>

@AutonomyGaps In Obsidian, there is command/hotkey named “Edit file title” that selects filename without “.md” extension which can be copied then. (Default value is “F2”, I use “Alt+D”).  
There is also command/hotkey “Copy file path”.

---

<div class="post-metadata">

**Author:** ![AutonomyGaps](https://forum.obsidian.md/user_avatar/forum.obsidian.md/autonomygaps/32/2462_2.png) [@AutonomyGaps](https://forum.obsidian.md/u/AutonomyGaps)\
**Post date:** [November 21, 2020, 11:54am UTC](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/7 "2020-11-21T11:54:34Z")

</div>

Thanks for mentioning this! I’ve streamlined my KeyboardMaestro shortcut:

1. Activate “Edit file title”
2. Copy & return
3. Wiki-wrap the title, in the clipboard.  
Screenshot attached of KM settings:

 ![Get Wiki-link to current page](https://forum.obsidian.md/uploads/default/original/2X/e/ef032013b7a8657ad81e21c7acca7795f156dc7e.jpeg)
