4 ms·
I learned programming with AHK back in the day. One neat feature is that you can bundle a bunch of scripts with the runtime into a single file binary for easy
by infogulch 4y ago
I learned programming with AHK back in the day.
One neat feature is that you can bundle a bunch of scripts with the runtime into a single file binary for easy distribution. If AutoHotkey runs on multiple operating systems, maybe combining this with cosmopolitan libc into an 'αcτµαlly pδrταblε εxεcµταblε' would let you bundle a script and use it across different OSes. That'd be pretty fun.
- themodelplumber 4y agoInteresting, I'm curious though, how does one interact with a bunch of scripts that are in a single binary?
- infogulch 4y agoAh I could be a bit more clear, it's more like a script and its dependencies. That said, you can combine a bunch of different utilities into a single script and select between them at runtime (cli, gui, etc) or even have them running in parallel in the same runtime without too much trouble, though you have to be careful since some scripts make cavalier use of the global namespace.
- phil294 4y agoYes it's awesome and works on both platforms. But these are two different, independent runtimes both highly dependent on their target systems, so there can be no cross-os binary. For that, maybe ahkx [1] (abandonware) could be feasible because it builds on Wine, or, much rather, KeySharp (linked above). [1] https://github.com/tinku99/ahkx https://github.com/tinku99/ahkx