# Open File OR Enclosed Folder

**URL:** <https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083>\
**Category:** Hookmark Feature Requests\
**Created:** [April 15, 2021, 6:49pm UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083 "2021-04-15T18:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HansTammen](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/bc8723/32.png) [@HansTammen](https://discourse.hookproductivity.com/u/HansTammen)\
**Post date:** [April 15, 2021, 6:49pm UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083/1 "2021-04-15T18:49:14Z")

</div>

Hi, I have numerous hook files to open documents, but I am now often running into a situation where I need to open the enclosed folder. It would be great to have a feature such as in Alfred, where I open the document by pressing return, but open the enclosed folder with CMD-Return.

Thanks, Hans

---

<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:** [April 15, 2021, 7:12pm UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083/2 "2021-04-15T19:12:16Z")

</div>

Are you referring to the links you see in the Hook window (Title item, HOOKED, PINNED, RECENT)? there are [Commands & Shortcuts](https://hookproductivity.com/help/general/all-commands-shortcuts) for that.

**Title** :

- [Reveal File in Finder](https://hookproductivity.com/help/hook-window/gear-menu#reveal): ⌘R (enabled if the title item is a file)

**Sections** :

- [Reveal File in Finder](https://hookproductivity.com/help/hook-window/gear-menu#reveal): ⇧⌘R or ⌘⏎ (enabled if the linked item is a file)

---

<div class="post-metadata">

**Author:** ![HansTammen](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/bc8723/32.png) [@HansTammen](https://discourse.hookproductivity.com/u/HansTammen)\
**Post date:** [April 15, 2021, 7:46pm UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083/3 "2021-04-15T19:46:52Z")

</div>

Thanks fo responding! No, I mean hook files as in “fancy aliases”, no Hook window open. 😉

My workflow is that I have a couple of hook files in my class session folders, and I double click on them to open documents and run files during class - documents and files that are stored in a variety of other folders. However, I have also a lot of other materials in those folders, too, that may be of interest if a student has a particular question. In that case I’d like to open the enclosed folder from that Hook file.

Using a Hook window on a particular file (with multiple entries) is not an option, as these additional files are too many, and change too often.

Thanks, Hans

---

<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:** [April 15, 2021, 10:28pm UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083/4 "2021-04-15T22:28:46Z")

</div>

you probably know this already, but just in case, and for the benefit of other readers.

1. One could create one [.hook files](https://hookproductivity.com/help/hook-window/make-hook-file) that points to a folder, and another that points to a specific file. Depending on your Preferences (next point), that would open the folder so that you can browse.
2. there is a  
[`Reveal hook://file link targets in Finder` General Preference](https://hookproductivity.com/help/preferences/general#reveal). If that is checked (current default), Hook will reveal the .hook URL target; otherwise, it will reveal the item.

But it sounds like you want to be able to dynamically override the general preference , such that ⌘⌥O for instance would `Reveal File in Finder` regardless of general setting (equivalent to Finder alias \> ⌘R show original).

---

<div class="post-metadata">

**Author:** ![HansTammen](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/bc8723/32.png) [@HansTammen](https://discourse.hookproductivity.com/u/HansTammen)\
**Post date:** [April 16, 2021, 12:07am UTC](https://discourse.hookproductivity.com/t/open-file-or-enclosed-folder/3083/5 "2021-04-16T00:07:07Z")

</div>

Yes, eventually. I still need to open files quickly, and Hook has sped up my class organization substantially. Thanks!  
Hans
