3 ms·
About AutoHotKey, you can do similar stuff as long as you are using X11 as there are various utilities for it, such as xdotool[0]. There is even an AutoHotKey-f
by badsectoracula 1y ago
About AutoHotKey, you can do similar stuff as long as you are using X11 as there are various utilities for it, such as xdotool[0]. There is even an AutoHotKey-for-Linux project[1] (it also needs X11 - the author did try to port it to Wayland but gave up). For Wayland there are some alternatives like ydotool[2] (actually AFAIK since ydotool uses some daemon to inject events it works with anything, not just Wayland, but on the other hand it only provides a basic tiny subset of xdotool's commands) but the core protocol isn't particularly friendly to such automation.
[0] https://github.com/jordansissel/xdotool https://github.com/jordansissel/xdotool
[1] https://github.com/phil294/AHK_X11 https://github.com/phil294/AHK_X11
[2] https://github.com/ReimuNotMoe/ydotool https://github.com/ReimuNotMoe/ydotool
- bee_rider 1y agoI suspect the problem they were indicating with “AutoHotKey scripts, lots of them” is that they just have a lot of scripts they’d need to convert. I get it—even switching to a new WM or distro can be a real pain.
- badsectoracula 1y agoWell, they did mention "AHK or equivalent" so it sounds like converting them isn't out of the question.
- lukevp 1y agoThings that used to be prohibitive are made much easier with AI these days. Especially tasks like this that do something fairly small and isolated and are easy to test.
- willis936 1y agoydotool helps bridge the gap in wayland. xdotool replacements ate even more essential since wayland strips away most of the hooks into windows.
- majkinetor 1y agoThere is nothing like AHK. All mentioned tools are toys in comprison.
- layer8 1y agoAgreed. AHK and Windows’ amenability to such things is an important reason why Windows is still my preferred GUI by far.
- spectre3d 1y agoI wish there was something like Keyboard Maestro for Windows or Linux. It seems like there isn’t. I’d love to be corrected, though! From what I can tell, AHK can’t do (m)any of the cool things that KM does, like “Click at Found Image”, “Set the Find Pasteboard”, “Prompt for Screen Rectangle”, “Stream Deck Show OK”, “Increase Song Rating by Half a Star”, “OCR Image/Screen”, “Paste from Named Clipboard”, or many other useful actions. Is there any Windows or Linux application that can?
- majkinetor 1y agoAHK can do all that, but you need to program a script, there is no out of the box solution. For example: https://www.autohotkey.com/boards/viewtopic.php?t=134045 https://www.autohotkey.com/boards/viewtopic.php?t=134045
- spectre3d 1y agoThank you, good to know AHK is able to do part of what Keyboard Maestro can, it just requires more work and troubleshooting for every script/macro. That example script also doesn’t let you simply drag a marquee selection to choose the image to find, you have to provide a file path to an image that already exists. That’s not There must be a market for something more user friendly, at least on Windows.
- spectre3d 1y ago> That’s not… an option for the workflow it’s currently being used in. I’ll hunt for more user-generated scripts to modify on that forum. Thanks for your response.