3 ms·
How about skhd? https://github.com/koekeishiya/skhd https://github.com/koekeishiya/skhd I use it to simply bind hotkeys to shell commands in a single config fi
by alin23 4y ago
How about skhd? https://github.com/koekeishiya/skhd https://github.com/koekeishiya/skhd
I use it to simply bind hotkeys to shell commands in a single config file.
Given the full power of the shell, you can even use AppleScript (through osascript) if you want to automate the UI/system like AutoHotkey does.
It can also send key events using the -k flag so you can remap keys to other key combinations.
- philsnow 4y agoI haven't used Autohotkey or skhd but I use hammerspoon for any kind of macos UI automation and it's pretty great, and uses lua instead of applescript.
- alin23 4y agoOh yeah, Hammerspoon is a much better alternative to AutoHotkey, how could I forget about it. It can even create simple and quite useful UIs, here’s an example of someone using it to create a stack visualizer for the yabai window manager: https://user-images.githubusercontent.com/1683979/90967233-08f6bc00-e491-11ea-9b0a-d75f248ce4b1.gif https://user-images.githubusercontent.com/1683979/90967233-0... [1] https://github.com/AdamWagner/stackline https://github.com/AdamWagner/stackline