by mmmpetrichor · 3y ago · 0 comments
Also, to make it even easier to generate AHK scripts to automate button clicks, clicker games, or boring tasks requiring the keyboard and mouse, you can generate an image recognition AHK script quite easily using Pulover's Macro Creator[2]. Even someone with minimal knowledge of scripting can use it to automate Windows.
Even without Python, AHK is amazing. It gets a lot of undeserved flak from advanced users, undeservedly so in my opinion.
You have all the tools "natively" to even pick positions on windows, its pretty extensive too.
Should I use a brace? On the same line or on a new one? How to pass parameters, with or without paranthesis? Should I use ::?
There are many such issues.
I love AHK but every time I wrote a script or is trial and error to discover the proper syntax.
A competent software developer should be able to check their ego and use curly brackets instead of PEP 8 4 spaces if that is what the situation demands. And also be able to resist the urge to reformat an entire Python codebase that was written to 2 spaces.
Also I did a quick search and I assume this [2] is the library you mentioned?
That one is also cross-platform, if that’s useful to you.
A real programming language, and support for multiple platforms!