The Gear menu is available on the bottom right side of the Hook window‘s status bar. To access it, click on it or type ⌃G. Whereas the Title menu and the Link menu are context-sensitive, operating on the title item and selected link, respectively, the Gear menu contains global commands (that do not vary as a function of the Title item or link-selection).
The gear menu can also be accessed from the menu bar icon.
Main part of the gear menu
The main part of the gear menu contains
- Find ⌘F. Search all your bookmarks with this command.
- Preferences menu ⌘,
- Help menu: includes a link to the keyboard shortcuts
- A Tutorial Slideshow
- The View menu
- About Hook ⌘’. Hook version, Integration version, Updates expiration status and date, and registered email are shown here.
- Quit Hook ⌘Q
View menu in gear menu
This menu contains
- Show/Hide Quick Look ⌘Y : shows the quick look pane
- Show/Hide Pinned: Shows or hides the Recent item section of Hook window
- Show/Hide Recent: Shows or hides the Recent item section of Hook window
- Expand/collapse Pinned: Expands or collapses the Pinnted items section.
- Expand/collapse Recent: Expands or collapses the Recent items section
- Show/ Hide Status Bar
Advanced gear menu
The advanced section of the gear menu contains the following commands.
Focus on Link in Clipboard.
- Copy a New Unique ID (⌘U), and Copy a Search Link from Clipboard (⇧⌘S) (Pro features)
- Preferences (⌘,)
Check for App Updates and Update Scripts...This checks for updates to the Hook app and updates the scripts if there are updates available.
Focus on Link in Clipboard
This very handy command sets the title bar to whatever URL is in the clipboard, so you can reveal it in Finder (if it’s a file), see what it’s hooked to, get a multi-format version of it into the clipboard, etc. See Focus on Link in Clipboard for more information.
Copy a New Unique ID, and Copy a Search Link from Clipboard (Pro features)
Hook Pro provides a couple of advanced user-friendly features that enable you to link to files of apps that do not adequately support automation (as described). More generally, they enable you to index and search for arbitrary content on locally mounted storage.
The commands are:
- ⌘U to Copy a New Unique ID
- ⇧⌘S to Copy a Search Link from Clipboard
Suppose you’re writing a document in a (hypothetical) Markdown editor called SansScript which has no automation. While editing a particular Markdown document,
source.txt you want to be able to quickly access or refer to another document,
target.txt, that you keep moving around. Here’s what you can do:
- Invoke Hook,
"Copy a New Unique ID", which might look something like
- Paste this anywhere in
target.txt(e.g., in its Spotlight comments, or in a Markdown comment such as
<!-- 6O4L7-GR8ZB -->),
- Invoke Hook again,
- ⇧⌘S to “Copy a Search Link from Clipboard”, which yields
- Paste this in
source.txt, or anywhere else from which you want to be able to access
When you invoke a
hook://search/?q=6O4L7-GR8ZB link, macOS invokes Hook, which “serves” (responds to) this link. Hook in turn executes a Spotlight search. It will find all instances of
6O4L7-GR8ZB (or whatever you put in the search query.)
Of course, you might have been able simply to selected
target.txt in the Finder, and invoke Hook from there. But, unfortunately, many apps do not even provide a “Show in Finder” command. (Hook provides this command for all compatible File-based apps.) And even if they do, you might prefer to paste the “ID” in the document itself, because it’s faster.
Some other ways of using these links:
- Some editors even have an “open URL” command that you can use with
hook://searchlinks. For instance, in BBEdit users can control-click anywhere in a URL which evokes a popup window containing “Open URL”. Selecting that command opens the link, which executes the search.
- You can also use these links in launchers and Spotlight. (Like any other
hook://URL, you can paste them in LaunchBar, for instance).
- You can paste them in .hook files (“Hook files”).
Another benefit of planting ID’s in files is that this enables finer grained linking. (We intend to provide other syntactic sugar for other types of links to enable this.) You can then search for the ID (e.g.,
6O4L7-GR8ZB) in the file itself (e.g., in
Bottom line: any macOS file can become a
hook://search link target. Let your imagination run wild, because the uses of this feature are innumerable.
- Hook Window.
- Copy Link
- Copy Markdown Link
- Copy All Links
- Hook to Copied Link
- Hook to New
- Make Hook File
- Reveal File in Finder
- Hooked Links
- Gear Menu (This page)
- Status Bar
- No Linkable Item in …