Welcome to this documentation page for Hookmark Extra - a Hookmark workflow for Alfred, the popular launcher and automation application for macOS.
Hookmark is a utility created by CogSci Apps. It builds a database of bidirectional links that allow various content items to be hooked together. It is like having a network overlay for your information that relates disparate elements with one another, and allows you to access links to seamlessly switch between them.
Hookmark Extra is an Alfred workflow that allows you to interact with, and utilise some of the Hookmark app’s features/data from within Alfred. The workflow primarily acts as an Alfred intermediary to Hookmark.
Prerequisites:
Hookmark Extra offers the following functionality.
The following file actions are available for files navigated to in Alfred, and among the actions available when triggering an Alfred universal action on a file.
This flow will take the selected file and lookup the list of Hookmark bookmarks that have been bi-directionally linked to it. These bookmarks will be displayed within Alfred. If no bookmarks have been added, then no bookmarks will be listed.
Selecting a bookmark from the list will open it.
If CMD
is held down while selecting a bookmark, the address (URL) of the bookmark will be copied to the clipboard.
If CMD
and OPT
are held down while selecting a bookmark, a Markdown link for the bookmark will be copied to the clipboard.
This flow will take the selected file and copy a Hookmark link (URL) for that file to the clipboard. If a Hookmark bookmark for the file exists already, Hookmark will pass that link to this flow. If a Hookmark bookmark for the file does not exist, Hookmark will create one.
This flow will take the selected file and copy a Markdown link to the clipboard. The link is based on the name and address (URL) for the Hookmark bookmark. If a Hookmark bookmark for the file exists already, Hookmark will pass those details to this flow. If a Hookmark bookmark for the file does not exist, Hookmark will create one.
External triggers can be used within any Alfred workflow to call a flow in Hookmark Extra, or even externally through an AppleScript call or URL.
External | Functionality |
---|---|
Copy Link | Flow for Copy Link |
Copy Markdown Link | Flow for Copy Markdown Link |
Links | Flow for Links |
Copied | Used by other flows to populate the clipboard. |
Hookmark Extra is just one of several Alfred workflows I have created. You can find more workflows and blog posts related to Alfred on my Alfred page.