Specifically I'd like to launch a node program I've written from an ahk script.
Yes, ahk
supports running external executables and capturing their output. See the documentation
So, you use that to run your node command (something like c:\path_to_node\node.exe c:\path_to_script\script.js
)