Thanks for the prompt reply! I was looking for more of a you can do things in Lua and get to Windows functions. AutoHotKey looks cool, but it appears to be it's own little language.
I'm pretty fluent in Lua, so being able to leverage ability like Hammerspoon does would be great.
AHK is a terribly designed language, but holy hell, you can do some nifty stuff with it. For instance, I like to download music from YouTube and SoundCloud using youtube-dl but I disliked having to open up and manually copy and pasting the URL, etc. I found an AHK script that gets the URL name of the current active Firefox window, edited it a little so that it pipes that URL into a batch file, and now if I find a song I like, all I have to do is hit a hotkey chord and after about 30 seconds, it's in my Music folder. It is a total hack - the kind of thing AHK was made for - but somehow it works!