I would like Hook to be accessible via scripting, eg AppleScript or JXA.
Example use case:
One of my current projects is to handle my enormous store of emails in GMail. I plan to download the raw email messages and pass them through a custom script that extracts the email message text into a file, and any attachments into individual files as well. A relationship[ is maintained by naming the attachments and the message text files incorporating the unique mail identifier from the email header. (I actually already have a script that does this from Mail.app in AppleScript, but plan to reimplement to handle raw message files so I can bulk process things.)
It would be ideal to be able to script Hook to create the links between the message and the attachments programmatically as part of this process (ideally using the mesh concept discussed elsewhere, but for this purpose at least a 1:1 linki between the message file and each attachment file would suffice).
I am sure there are many other use cases for programmatically creating Hook links.