# Hook integration with Trickster

**URL:** https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078
**Category:** Share Hookmark automation
**Created:** [December 20, 2019, 7:13pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078 "2019-12-20T19:13:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jacob](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/jacob/32/571_2.png) [@jacob](https://discourse.hookproductivity.com/u/jacob)
#### Post date: [December 20, 2019, 7:13pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/1 "2019-12-20T19:13:21Z")

</div>

Hi,

I’m the developer of [Trickster](https://www.apparentsoft.com/trickster), another productivity app for the Mac. Trickster is a menu-bar app that monitors folders that you select for modified or opened files apps and folders and then can give you quick access to them.

These days Trickster, along with Hook, participate in the WinterFest sale of artisanal Mac software.

Since Hook doesn’t have existing integration with Trickster, and Trickster does have enough AppleScript support to allow it expose the recent files it has, I’ve created the needed integration scripts. I hope they can be included in the future update scripts that are updated through Hook.

Here’s an example video of the integration in action. The scripts are below.

## Get Name:

```auto
tell application "Trickster"
  set se to selected entries
  set t to item 1 of se
  set filename to file name of t
end tell

```

## Get Address:

```auto
tell application "Trickster"
	set se to selected entries
	set t to item 1 of se
	set fileurl to (url of t)
	set a to POSIX path of fileurl
	set f to "file://" & a
end tell

```

---

<div class="post-metadata">

### Author: ![jacob](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/jacob/32/571_2.png) [@jacob](https://discourse.hookproductivity.com/u/jacob)
#### Post date: [December 20, 2019, 7:43pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/2 "2019-12-20T19:43:24Z")

</div>

I wrote a more detailed blog post about the integration, mostly for our customers, at [https://blog.apparentsoft.com/trickster/1861/integrating-trickster-with-hook/](https://blog.apparentsoft.com/trickster/1861/integrating-trickster-with-hook/)

---

<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: [December 20, 2019, 8:14pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/3 "2019-12-20T20:14:43Z")

</div>

super! I’ve updated my copy of Trickster which I had bought at a previous WinterFest or Summerfest.we’ll have a try and add Trickster support asap. Definitely relevant to our community.

---

<div class="post-metadata">

### Author: ![jacob](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/jacob/32/571_2.png) [@jacob](https://discourse.hookproductivity.com/u/jacob)
#### Post date: [December 20, 2019, 8:29pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/4 "2019-12-20T20:29:33Z")

</div>

Thank you, Luc. That’ll be great to have “first-class” support for Trickster in Hook. I’m checking it out since yesterday. Really well-done. I had an idea for something similar to do in Trickster and, believe it or not, the same day that I’d written down this idea, I saw Hook mentioned for the first time. Went to see the site, docs and videos and understood that it’s better done and explained than I’d be able to do with Trickster, so I just happily deleted my plans for this.  
When you enable the integration, please update me here so that I can update my blog post to reflect that this manual integration is no longer needed.

Cheers from Winnipeg, MB.

---

<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: [December 20, 2019, 9:38pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/5 "2019-12-20T21:38:19Z")

</div>

That’s one of the things I love the most about developing Hook: the integration design puts me in touch with many devs and people who love great Mac apps!

---

<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: [December 23, 2019, 11:52pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/6 "2019-12-23T23:52:34Z")

</div>

> [@jacob](#):
>
> When you enable the integration, please update me here so that I can update my blog post to reflect that this manual integration is no longer needed.

Done, per [Hook integration scripts v. 97: Tickster supported - Releases - Hook Productivity Forum](https://discourse.hookproductivity.com/t/hook-integration-scripts-v-97-tickster-supported/1089).

this includes support for both the Set App version of Tickster and the one downloaded from your website.

Great fit for our mutual customers.

Thanks again, @jacob!

---

<div class="post-metadata">

### Author: ![jacob](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/jacob/32/571_2.png) [@jacob](https://discourse.hookproductivity.com/u/jacob)
#### Post date: [December 30, 2019, 6:49pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/7 "2019-12-30T18:49:46Z")

</div>

Great job noticing there’s a Setapp version. I forgot that it has a different Bundle ID.

---

<div class="post-metadata">

### Author: ![harets](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/h/71e660/32.png) [@harets](https://discourse.hookproductivity.com/u/harets)
#### Post date: [February 20, 2022, 8:54pm UTC](https://discourse.hookproductivity.com/t/hook-integration-with-trickster/1078/8 "2022-02-20T20:54:49Z")

</div>

Is there a way for Hook to add tags to both the first, source element of a linked pair, and the second file? I consulted with the developer of Trickster (see [Filter for Hook Bookmarks? and other things - Trickster - Apparent Software Forum](https://discourse.apparentsoft.com/t/filter-for-hook-bookmarks-and-other-things/202?u=tshare)) to add a filter Trickster to find all Hooked files, but Trickster only finds the first element of a linked pair.
