# Using Hook with Fantastical by Flexibits

**URL:** https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749
**Category:** Showcases and Use Cases
**Created:** [September 11, 2021, 7:57pm UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749 "2021-09-11T19:57:24Z")
**Posts on this page:** 8
**Page:** 1

<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: [September 11, 2021, 7:57pm UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/1 "2021-09-11T19:57:24Z")

</div>

As many of you know, we at [CogSci Apps](https://CogSciApps.com) received many requests for Fantastical integration. We worked with Flexibits over the summer who kindly provided an API allowing us to integrate Hook with Fantastical.

- [Version 172 of Hook software integration](https://discourse.hookproductivity.com/t/version-172-of-hook-software-integration-is-available-supports-fantastical-by-flexibits/3490/) and
- the [Hook 3.2 software release](https://discourse.hookproductivity.com/t/hook-3-2-released-with-new-commands-instapaper-and-goodlinks-bookmarking-direct-icloud-syncing-merlin-project-fantastical-and-more/3563).

We’ve now written up

- a blog post: [Connect your Fantastical Calendar Dates to What they are About – Hook](https://hookproductivity.com/blog/2021/09/connect-your-fantastical-calendar-dates-to-what-they-are-about/), and
- help page: [Using Hook with Fantastical](https://hookproductivity.com/help/integration/using-hook-with-fantastical/)

some use cases include copying links to Fantastical dates and pasting them into task lists and meeting notes; and hooking a meeting agenda to a fantastical date. Other use cases are mentioned in the help page.

Please feel free to let readers here know how you’re using Hook with Fantastical.

---

<div class="post-metadata">

### Author: ![stevelw](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@stevelw](https://discourse.hookproductivity.com/u/stevelw)
#### Post date: [September 12, 2021, 8:13am UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/2 "2021-09-12T08:13:31Z")

</div>

This is probably the integration I use the most. Whenever I get a new meeting I need to prepare for I use Hook to create a new Obsidian note and add a task there to prep. Then when it comes to the day I can easily bring up my notes and agenda for each meeting. I also Hook between related meetings (E.g. staff management one-on-ones) so I can easily refer to last meeting’s notes.

Then in other meetings if I unexpectedly need to make a note it’s super simple to use Hook to create a new Draft (my default Hook to New).

---

<div class="post-metadata">

### Author: ![abusch](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@abusch](https://discourse.hookproductivity.com/u/abusch)
#### Post date: [September 12, 2021, 8:56am UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/3 "2021-09-12T08:56:57Z")

</div>

Hi - this sounds interesting! But how do you create a new Obsidian document from Hook? I can’t find it in my list of apps for the “Hook to new…” entry.

Many thanks for any suggestions or examples!

---

<div class="post-metadata">

### Author: ![stevelw](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/s/ea666f/32.png) [@stevelw](https://discourse.hookproductivity.com/u/stevelw)
#### Post date: [September 12, 2021, 4:17pm UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/4 "2021-09-12T16:17:51Z")

</div>

> [@Obsidian Hook to New](https://discourse.hookproductivity.com/t/obsidian-hook-to-new/3510):
>
> This will add the note to the frontmost Obsidian vault. You can add the key vault=\<YOUR VAULT NAME\> to the URL call to have it go to a named vault (See Using obsidian URI tor details). set tag to "from-Hook" set linkToParent to "$user\_link" set title to "$title" set encodedTitle to do shell script "python -c \"import urllib, sys; print (urllib.quote(sys.argv[1]))\" " & quoted form of title set doubleEncodedTitle to do shell script "python -c \"import urllib, sys; print (urllib.quote(sys.argv[1…

---

<div class="post-metadata">

### Author: ![abusch](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@abusch](https://discourse.hookproductivity.com/u/abusch)
#### Post date: [September 14, 2021, 9:25am UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/5 "2021-09-14T09:25:25Z")

</div>

Thanks! I‘ll give it a try.

---

<div class="post-metadata">

### Author: ![dnaunton](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/dnaunton/32/1471_2.png) [@dnaunton](https://discourse.hookproductivity.com/u/dnaunton)
#### Post date: [September 18, 2021, 4:14pm UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/6 "2021-09-18T16:14:28Z")

</div>

This is very useful, Thanks so much!

---

<div class="post-metadata">

### Author: ![obadiahcruz](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/o/a587f6/32.png) [@obadiahcruz](https://discourse.hookproductivity.com/u/obadiahcruz)
#### Post date: [April 21, 2022, 2:17am UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/7 "2022-04-21T02:17:15Z")

</div>

does this not work with the menu bar of fantastical? i cant get it to work. it only appears to work when you open the full calendar view  
@LucB

---

<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 21, 2022, 3:17am UTC](https://discourse.hookproductivity.com/t/using-hook-with-fantastical-by-flexibits/3749/8 "2022-04-21T03:17:27Z")

</div>

> [@obadiahcruz](#):
>
> does this not work with the menu bar of fantastical? i cant get it to work. it only appears to work when you open the full calendar view

Interesting. I wasn’t aware of that feature. But I’ve now looked into it.

Hook is a contextual app, and the context is always initially defined by the app that is in the foreground while Hook is running. Fantastical’s menu item is not technically in the foreground. So Hook would not send the request to Fantastical.

As soon as one interacts with another app, Hook or other, the Fantastical selection menu item selection is cleared. So if you could run the AppleScript that Hook uses to get Fantastical info, Fantastical would (at best) answer in terms of the selection in its full calendar window.

Also, I don’t see a way to copy links from the Fantastical Menu. If they did provide such an option, one could then feed that link into Hook, and get what was Hooked to it.

I can’t see a way of getting around these limitations at the moment.
