Using Hookmark with Apple Contacts

Apple Contacts is an address book app developed by Apple.

Hookmark enables you to link contacts to and from anything that is also link-friendly.

This page provides some of the technical details about linking with Apple Contacts. .

Caveat: use Hookmark in the Contacts list view only

If you open a particular contact in its own window, you won’t be able to invoke Hookmark Context window on that contact. This is due to a limitation in Apple Contact app’s AppleScript dictionary.

Hookmark Context window can only be used in the Contacts list window. Get to that window with ⌘0. (That’s a zero not an “o”).

Copy Link and Copy Markdown Link commands

When you invoke Hookmark on a contact in Apple Contacts and then choose Copy Link or Copy Markdown Link, Hookmark will produce a link containing a URL. Here is an example Contacts URL:

hook://addressbook/44EF9451-34E5-48CE-88BB-0BF4542366AA:ABPerson?n=John%20P.%20Doe&phone=(613)%20997-0613.

The n field captures the person’s name.
the phone field captures the person’s current phone number.

These two variables enables Hookmark contact links to work across Macs.

You can paste those links anywhere and use them in Hook to Copied Link.

Hook to Copied Link

With an Apple Contacts link in the clipboard, you can invoke Hookmark on any other linkable item and use the handy Hook to Copied Link command to bidirectionally link the other item to the Apple Contacts object.

See Hook to Copied Link for more information.

Hook to New > Apple Contacts

Due to limitations in Apple Contacts’ AppleScript, it is not possible to create new contacts from Hookmark.

Adding tags to Apple Contacts items

You can add Hookmark tags to contacts with the ⌃T keyboard shortcut, or click on the Action ☰ button and select Tag from the menu.

Make Hookmark File

Hookmark’s Make Hookmark File command also does what you would expect in the context of the Contacts app. See that help page.

Search for Apple Contacts bookmarks in Hookmark

Hookmark automatically bookmarks links it creates. If you use Hookmark to copy links to a contact or hook it to anything, then Hookmark will automatically bookmark the contact for you. Later you can find those bookmarks using Hookmark’s Bookmarks window, on any Mac with which you sync Hookmark’s bookmarks! Hookmark becomes a treasure trove of links to the information you value the most.

To find contacts you’ve processed with Hookmark, simply

  1. invoke Hookmark,
  2. enter search mode of Bookmarks window (⌥⌘F),
  3. type: url:<addressbook> and hit the return key

Your Contacts bookmarks will show up in the search results.

Hookmark Pal

Hookmark Contacts links (hook://addressbook/ links) sync to iPhone and iPad. You can open them there too.