Thanks, much @marlowe! We’ve published adaptations of this in v. 98 of Hook’s integration scripts.
As noted:
regarding the first bullet, I’ve now updated Creating Integration Scripts – Hook to make it clear that and when “get name” is optional.
Regarding the second bullet: The default “Link to New” is simpler than the script published in post 3. By using the default “Link to New” behavior, the script does not depend on particular location of notes. However, advanced users may prefer to use and potentially adapt @marlowe 's “Link to New” script.
A case could be made for a “Link to New” script that would check to see if there is a Voodoopad document open and then create one, otherwise to fall back on Hook’s default “Link to New” behavior (making a copy of the template in Hook’s Notes folder). This conditional branching might require some changes to the script framework so that the script can tell Hook to fall back on its default, which might be handy.
Also, I assume that some variants of the previously proposed script could be suggested. So we could revisit the built in later.