Lurker News
Hello HN,

this is the first functional reimplementation of AutoHotkey [1] for Unix-like systems, as far as I am aware. Half the commands are still missing, but everything important is done, as I have worked a lot on it over the past two months. Converting scripts into stand alone binaries is also supported. Hope this will find some adoption eventually. :-) - This implementation focuses on v1.0-like classic syntax from 2004 (!). This is a significant subset of the popular current v1.1 syntax from Windows (AHK_L). The reason this does not (yet?) target the full Windows spec is how complex it is. Notably, there's also another ongoing project which targets v2 called KeySharp [2].
If you are not aware of what AHK is, it is an easy but capable scripting language for automation and Hotkeys, and all sorts of visual things like GUIs.
If you want to learn more, there plenty of info on the repo, the docs html, and there's an active AHK Discord too, and I am personally also checking the forums and HN of course.
[1] https://www.autohotkey.com/ [2] https://bitbucket.org/mfeemster/keysharp/

Comments (183) 43 threads

Show all comments

Showing thread 20 of 43

marcodiego1 reply#
Does it work with Wayland?
zcam1 reply#
No
smabie3 replies#
Which is coincidentally the same answer as every other "does X (heh) work with Wayland" question
vaylian2 replies#
I disagree. There are plenty of programs that run just fine on Wayland.

I acknowledge the effort that OP has put into this project. And if the OP plans to use X11 for the foreseeable future, then it makes sense to target X11. But for any new project with a wide audience Wayland is a much more reasonable target.

amaranth4 replies#
There is no way to "target wayland" for a tool like this. For security reasons pretty much everything this tool does is blocked on wayland. You could perhaps make a version for sway and other wlroots-using desktops that works mostly like the current tool. For GNOME you might be able to get away with rewriting it in JS as a shell extension, no idea for KDE.

Continue this thread — 4 replies

selfhoster11#
I literally just recently had to switch a brand-new Ubuntu installation to X11 because Synergy/Barrier wasn't working in Wayland mode [0]. Until Wayland gets its head in the game, I'm staying on X11 for as long as possible.

[0]: https://github.com/symless/synergy-core/issues/4090

marcodiego#
Not true. Specially OBS, AFAIK, works on Wayland.
llllllllllll9#
:D