11 ms·
Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS. v2 syntax and features are so much better.
by majkinetor 4y ago
Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS.
v2 syntax and features are so much better. It was basically in development for a decade and AHK itself more then 20 years.
- NaOH 4y ago> There is no such thing on any other OS. I thought the Mac comparable was Keyboard Maestro. Are the two that different (asks someone who hasn't used Windows since the '90s)? https://www.keyboardmaestro.com https://www.keyboardmaestro.com
- hu3 4y agoMaestro is more like a Macro Recorder while AutoHotkey is a programming language for automation. Also AHK community is huge.
- doogerdog 4y agoKeyboard Maestro is not just a Macro Recorder. It can control most of the Mac interface and most applications. You can start using it as a recorder but when you learn to to incorporate applescripts and other tricks, it can manipulate the entire Mac experience. I would be lost without it.
- trippsydrippsy 4y ago[dead]
- saghm 4y ago> AutoHotkey is a programming language for automation That's sort of what AppleScript is supposed to be on MacOS I thought? I'm not familiar enough with either AutoHotKey or AppleScript to be able to compare them though
- duskwuff 4y agoAnother utility along those lines for macOS is Hammerspoon: https://www.hammerspoon.org/ https://www.hammerspoon.org/
- Fnoord 4y agoI use Karabiner Elements and Hammerspoon. Hammerspoon scripts are written in LUA, Karabiner Elements has a large repository of useful scripts. On Linux I use Wayland but there are several ways to tackle that, involving /dev/uinput. For example there's Python bindings for that and several Rust apps to achieve it. In the end I use ydotool and kbct. On Android I use MacroDroid. You can also do some neat stuff with Selenium.
- reegnz 4y agoOn mac I use goku[1] to define custom key bindings for karabiner elements. The ux feels much better than autohotkey, and I wish I had something similar on linux or windows. [1]https://github.com/yqrashawn/GokuRakuJoudo https://github.com/yqrashawn/GokuRakuJoudo
- olig15 4y agomacOS has AppleScript that does the same thing, and it’s built into the OS. https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html https://developer.apple.com/library/archive/documentation/Ap...
- xnyan 4y agoApppleScript was an amazing foundational part of what made the Mac so great, but unfortunately Sal Soghoian was pushed out of Apple, the Mac automation team ended, and the new future of Mac automation is an iOS application. It’s by no means dead, but it’s absolutely a zombie at this point, shuffling along until Apple inevitably depreciates it out of it’s usefulness. I actually think AHK has the better model here. It takes low level windows functions and presents them in a fairly simple and low friction way. MS could never end AHK without also breaking an unfathomable number of other applications.
- MikusR 4y agoAnd Windows had https://en.wikipedia.org/wiki/Windows_Script_Host https://en.wikipedia.org/wiki/Windows_Script_Host
- lenkite 4y agoLooks like a feature that is obsolete and in the process of being phased out, considering that documentation for it has been archived.
- eviks 4y ago> does the same thing So how to you create custom keyboard shortcuts with it?
- davidandgoliath 4y agoAutokey on Linux?
- majkinetor 4y agoThere is no such thing, at least in the mainstream. There are surogates, more or less capable, however nothing close to AHK 1. xdotool 2. sikuli 3. AHK_X11
- TheSpiceIsLife 4y agoYou that read wrong https://github.com/autokey/autokey https://github.com/autokey/autokey
- majkinetor 4y agoAHK is way more mature then autokey has huge community and big amount of ready to use scripts and autoamtion libraries.