Hook is a Mac productivity app that allows connecting documents, websites, and notes for quick navigation to relevant data, based on what you’re currently working on. As such, it can be handy to combine with Trickster, so that you can quickly navigate to files or sites related to your recent files as shown in Trickster.

Hook listing a file from Trickster and its link to the design document

UPDATE: Hook now has built-in Trickster integration. So there’s no need to perform any of the manual integration steps below. Thank you, Luc, for adding Trickster so quickly.

Hook doesn’t have a built-in integration with Trickster (yet), but it’s easy to add the support manually in the meantime. Here, we’ll show how.

  • If you don’t have Hook on your Mac yet, download it from their site.
  • Launch Hook, click on its menu bar icon, then on the gear icon and select Preferences in the menu (This works similarly to Trickster’s menu).
  • Navigate to the Scripts tab in Preferences and hit the + button below the list of integrations on the left.
  • Click on the “Get Name” tab on top.
  • Copy and paste the following code there:

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

  • Click on the Get Address tab.
  • Copy and paste the following code there, then hit Save.

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

  • Quit and restart Hook to ensure the new scripts take effect.
  • That’s it! Now, select a file in Trickster, invoke Hook (with its shortcut or the menubar icon) and it should show the selected file in its own popup.

How the Get Address script appears in Hook Preferences

Here’s a video of the integration in action:

Trickster and Hook integration in action

Pin It on Pinterest

Share This