The alien syntax, the incompatibilities between versions, the outdated information on the internet made it difficult to learn.
I'd recommend to just use python with a library like pyautogui and similar.
Took me a while to figure out a decent environment for it: VScode with Autohotkey Plus Plus extension, which allows debugging.
+chatGPT is super useful for it.
so don't get discouraged. If you want to learn coding I'd recommend learning python on some online code editor which requires zero setup. lookup 'python online', there are many websites for it. also Google Colab is awesome
The most useful thing I’ve made: Select text anywhere and press ctrl-shift-1. Select text somewhere else (even in another application) and press ctrl-shift-2. Press ctrl-shift-3 and my graphical diff tool opens to show me the differences.
maybe you just need to search online more or refine you searches. when i was learning ahk first i would nearly end up searching nearly every little thing i needed to do, and there was always a forum post with the answer or part of the answer