AutoHotKey+Midi

Hello! I was shocked after that video, how cool ahk can be. and wondering why there is no info here how to setup it
https://www.youtube.com/watch?v=ellGhSdmXfk

I’m newbie in ahk, all I could now its send midi from my Hardware midi keyb to virtual midi (loopmidi). but, i have no idea how to send miti to Vmidi via Radial Menu ((i’m using Radial menu v4)live in video)
I understand how to include ahk scripts in Radial Menu. but, i dont understand how to make midi out (like in video) from radial menu.

thanks!