After lots of searching around I can’t quite figure out if the integration between Obsidian and Hook doesn’t work and I am not alone, or it does work just not for me. Every time I would do the keyboard shortcut on Obsidian I would see hook flash and go away. I can see that it gets the right page in the Hook UI, but doesn’t keep it on screen.
I found that I can get it to reliably work by simply adding a delay into the Get Address script after the 3rd line:
set myURL to "obsidian://hook-get-address" set myScript to "open '" & myURL & "'" do shell script myScript delay 0.4 repeat 50 times -- poll clipboard for ~2.5 seconds try if (the clipboard) is not equal to "" then exit repeat end if end try delay 0.01 end repeat get the clipboard