# Fantastical update with new Applescript options

**URL:** <https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488>\
**Category:** Discussion & Help\
**Created:** [July 14, 2021, 2:39pm UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488 "2021-07-14T14:39:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wernervp](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/w/34f0e0/32.png) [@wernervp](https://discourse.hookproductivity.com/u/wernervp)\
**Post date:** [July 14, 2021, 2:39pm UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488/1 "2021-07-14T14:39:55Z")

</div>

Seems fantastical added some extra integration options 🙂

 ![Screenshot 2021-07-14 at 16.37.05](https://discourse.hookproductivity.com/uploads/default/original/2X/d/df7eff08b7f7e662e966ebc2e7f2f49b18a29327.png)

I did not look into it, but it could be very interesting.

---

<div class="post-metadata">

**Author:** ![wernervp](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/w/34f0e0/32.png) [@wernervp](https://discourse.hookproductivity.com/u/wernervp)\
**Post date:** [July 14, 2021, 3:27pm UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488/2 "2021-07-14T15:27:53Z")

</div>

Did some testing and scripts below seem to work:

**Get Name**

```auto
tell application "Fantastical"
	
	set theItems to selected calendar items
	
	set theFirstItem to item 1 of theItems
	
	return title of theFirstItem
	
end tell

```

**Get Address**

```auto
tell application "Fantastical"
	
	set theItems to selected calendar items
	
	set theFirstItem to item 1 of theItems
	
	return showURL of theFirstItem
	
end tell

```

---

<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:** [July 14, 2021, 9:51pm UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488/3 "2021-07-14T21:51:29Z")

</div>

Thanks for letting us know, @wernervp . We had a back channel communication in June about this with the good folks at Flexibits, and have a script ready to publish, which we will do next, and also include in Hook 3.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:** [July 14, 2021, 11:20pm UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488/4 "2021-07-14T23:20:03Z")

</div>

I’ve announced the integration here:  
[Version 172 of Hook software integration is available, Supports Fantastical by Flexibits - Releases - Hook Productivity Forum](https://discourse.hookproductivity.com/t/version-172-of-hook-software-integration-is-available-supports-fantastical-by-flexibits/3490)

---

<div class="post-metadata">

**Author:** ![wernervp](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/w/34f0e0/32.png) [@wernervp](https://discourse.hookproductivity.com/u/wernervp)\
**Post date:** [July 15, 2021, 3:49am UTC](https://discourse.hookproductivity.com/t/fantastical-update-with-new-applescript-options/3488/5 "2021-07-15T03:49:53Z")

</div>

I had a feeling this was coming 🙂

Thanks for the update!
