General Preferences Tab
You can control the following behavior of Hook on the General tab:
- 1. Effect of clicking Hook’s menu bar icon
- 2. Hook Context Window (appearance and hiding)
- 3. Linking behavior (including export & import of data)
1. The effect of clicking Hook’s menu bar icon
You can configure whether clicking Hook’s menu bar icon shows:
- Hook’s contextual (popup) window, or
- Hook’s menu bar window
Regardless of this setting, if you hold the option key down while clicking Hook’s menu bar icon, the menu bar window will appear.
2. Hook Context Window (appearance and hiding)
You can configure several aspects of the Hook (contextual) Window itself.
2.1 Automatically hide Hook (checkbox)
If this is checked, then after you issue a command with Hook such as (
Copy Markdown Link, and
Hook to Copied Link) Hook will disappear (as is typical in launchers like Alfred and LaunchBar).
Beginners may like to disable this setting. However, even if this is disabled, Hook will automatically disappear if you open an item through Hook or use the ESC key.
Advanced users should normally enable this (auto-hiding).
2.2 Toolbar buttons
You can configure whether Hook shows any or all of the following buttons in its toolbar:
You can configure whether Hook shows the following sections:
- Pinned items
- Recent items
You can also control how many recent items are shown.
3. Linking behavior
You can configure the following three aspects of Hook’s linking:
3.1. Reveal hook://file link targets in Finder
When you use
Copy Link on a file, Hook creates a link containing a
hook://file URL. You can paste that
hook://file// URL anywhere. Similarly, invoking
Make Hook File on a selection in the Finder creates a .hook file that contains a
Reveal hook://file link targets in Finder determines what happens when you click on such
hook://file// links. The choices are:
- to reveal the target of the link (the file) in Finder, or
- open them
NB: this preference does not affect what happens when you
- access files via Hook’s contextual window. If you double-click ( or return key on) a hooked file, Recent item, Pinned item, or Search, Hook will necessarily open that file regardless of this setting.
.hookfiles that contain a link to another type of resource than files, such as web pages. That is because .hook files can contain any link. And of course, you can’t reveal remote web pages in Finder 🙂 .
3.2 Playing menu bar icon linking sounds
This checkbox controls whether sounds are played when you create links with Hook
By default, Hook issues notifications macOS notifications when you create links. You can disable and configure Notifications in the macOS Apple menu > System Preferences > Notification pane. See Apple’s documentation on notifications.
3.3 Export and Import of link data (Advanced feature)
Hook’s General Preferences tab contains an “Export” and an “Import” button. These buttons are provided as one of several alternative means of backing up and restoring Hook links. For more information see this web page. See also instructions on migrating Hook between Macs.
In the unlikely event that Hook data become corrupted, you can import previously exported links. This process may detect and remove inconsistent data. You can also use the export/import buttons to compact the Hook link database. When you export Hook links, Hook does not include links to files that are not currently mounted / reachable. This effectively purges links to files that have been deleted or on media that you no longer use. However, this leads to the following caution.
You need to ensure that all mobile /removable directories, to which you have links that you wish to preserve, are connected at the time of both exporting and importing. That includes version control system folders, shared folders (Dropbox folders, etc.), and removable media (external drives, disk images, etc.).
If you would like to backup and restore Hook links without being concerned about whether the included files are currently reachable, use the backup and restore procedures explained at the beginning of this section.
Hook provides two buttons here. One to Export link data. The other to import link data.
- General tab
- Notes tab
- Scripts tab
- Shortcuts tab
- Favorite Apps tab
- Sync tab
- Tags tab,
- Services taband
- Update tab