Hook’s AppleScript Dictionary
It is also possible control Hook itself using programs you or others write, using Hook’s AppleScript dictionary. Hook’s dictionary will be described here. For now, please simply download Hook and check out its AppleScript dictionary.
Hook’s AppleScript dictionary was updated in Hook 2.0, published in November 2020: Changes to Hook’s AppleScript API coming in Hook 2.0 – Releases – Hook Productivity Forum. That page contains high level details for the AppleScript.