Some things to note about Hook’s inter-operation with Drafts beta, first discussed here.
First off, Drafts is an august iOS writing app that has been redeveloped for macOS. Like Hook, Drafts is currently in public beta. Drafts has an AppleScript API, which we greatly appreciate.
Drafts was missing from “Link to New”
Our bad: the “Link to New” script was missing from our Drafts integration. We’ve added it to the script server. To get the latest scripts (version 31):
- Invoke Hook.
- Access the Preferences window.
- Click on the Script Editor pane.
- Click the
Update Nowbutton (at the bottom).
This script will also be included in the next build of Hook, of course. Hook’s script server is a quick way for us to deliver script updates.
Aside on Hook’s software UI
We are in the process of simplifying Hook’s software update user interface. Software updates will be fully controlled by the Updates tab. That will make life easier for us and our customers.
Making Drafts the “Link to New” default
Drafts, and database style apps (like Things and OmniFocus), cannot currently be made Hook’s “Link to New” default. We intend to address this in the future. (We will also endeavour to allow you to specify Drafts templates.)
However, you can configure keyboard shortcuts for “Link to New” apps in Apple’s keyboard shortcut tool (
System Preferences >
App Shortcuts). There, I was able to create a keyboard shortcut that mapped ⌘⇧N to Drafts. (And similarly for OmniFocus).
And there are third party tools for keyboard shortcuts.
Drafts crashes when you delete a document via its automation
Hook runs into an issue such that when you create a Drafts document via its AppleScript, and then delete the document, Drafts crashes. So if you use Hook to create a Drafts document, when you delete the draft, Draft will crash.
We have notified the developer, Agile Tortoise, about this.
We were made aware of these issues by a user via email (perhaps due to the forum being down). Thanks again to that user for letting us know. And thank you all for your comments and for reading.