Link to New keyboard shortcut for scripts

#1

Unless I’m missing something, it seems the cmd+N shortcut for Link to New can only be set to a file template. Could a way be added to set it to a New Document script?

#2

Thank you for asking, Steve.

You can set a keyboard shortcut for any “Link to New” item via Apple’s shortcuts. E.g., I have a shortcut that maps ⌘. to OmniFocus. This triggers the New Document script for OmniFocus as defined in Hook’s Preferences > Script Editor tab >> OmniFocus (item) >> New Document (sub-tab).

A quirk with macOS , these shortcuts sometimes require exposing the “Link to New” menu first (for the shortcut to fully register with macOS).

I’m sure you’re familiar with this, but for others, see How to Create Custom Keyboard Shortcuts in Mac OS – http://osxdaily.com.

#3

I’m unable to get this to work — when I press the shortcut, it backs out to the main Hook window and doesn’t trigger the script. I’ve tried with various options for the key combination. I do run several keylogging apps (TextExpander, Keyboard Maestro) so there’s the potential for conflict there.

Regardless, for most users, I think it is confusing that they can select some items in that menu for the built-in shortcut (templates) but other items listed in the same menu can’t (scripts). Long term I’d like to see all apps with a New Document script usable with cmd+N natively.

#4

… agreed, and yes, we do intend to fix that after the 1.0 golden master.

1 Like