Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about 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.



I 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.


Oh 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-0...

[1] https://github.com/AdamWagner/stackline




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: