I would like to add some functionality on top of the “Hook to New” function by wrapping the call in AppleScript. Is there a way to do that or do you need to add it to the AppleScript dictionary for Hook?
2 Likes
Hook to New
is currently not exposed in AppleScript dictionary because it’s not an atomic operation. There’s a default Hook to New
which is non interactive, and a version of Hook to New
that brings up. a menu where you choose what you want to hook to. That could be automated with Keyboard Maestro at this point. Seems like a candidate for when Hook supports automation with Shortcuts.
having said that, of course AppleScript has advantages over Shortcuts.
Hello,
I was just looking for this functionality - is there any update on whether it is possible?
Thanks