4 ms·
Very cool! Is there an equivalent for those of us in the Windows world?
by AstroJetson 10y ago
Very cool! Is there an equivalent for those of us in the Windows world?
- kruhft 10y agoAutohotkey[1] has some of the functionality at least: [1] https://www.google.com/?q=autohotkey https://www.google.com/?q=autohotkey
- AstroJetson 10y agoThanks 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.
- unsignedqword 10y agoAHK 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!
- maxerickson 10y agopywinauto exposes a lot of the same functions to Python. https://pywinauto.github.io/ https://pywinauto.github.io/
- 13years 10y agoThere is RobotJS which is cross platform https://github.com/octalmage/robotjs https://github.com/octalmage/robotjs