General Preferences Tab
You can control the following behavior of Hook on the General tab:
You can control whether or not Hook launches at login.
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.
You can configure the following three aspects of Hook’s linking:
1. Apply Hook Finder tags to files when linking them.
If you check this, then whenever you link a file to something, Hook will apply a Finder tag to them. This will allow you to find the file later using Spotlight with the keyword-value pair “tag:Hook” in Spotlight. This does not apply to objects (e.g., even though Mail stores messages as Files, Hook doesn’t apply Finder tags to them, because they wouldn’t necessarily persist.)
2. Reveal hook://file link targets in Finder
.hook files can contain any link or URL, including links to files (
hook://file URLs). You can configure whether opening a
.hook file that contains a hook://file URL reveals the target file in the Finder, or opens it.
NB: this preference does not affect:
- the behavior of
.hookfiles that point to other types of resources than files, such as web pages.
- what happens when you access files via Hook’s contextual window. If you double-click ( or return key on) a hooked file, hook will open that file regardless of this setting.
3. Playing menu bar icon linking sounds
This checkbox controls whether sounds are played when you create links with Hook (whether via the Hook window or the menu bar icon).
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.
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.