…y’know, I may have figured out why it worked for me and not you.
It would kinda help if I uploaded the correct version of the file to the gist. (It’s now been updated.)
(I went and wrote a super simple AHK script and it did indeed trigger… and I went to check if I’d somehow introduced a typo when copying it into the gist, and… yeah.)