

Good in the long run, but if someone is completely new they might want to make a small script with Notepad as a first opinion (which is somewhat similar to william_ahk) is it would be better to use AHK v1, because of so much example code and help. As for tooling setting it up and learning the basics of VS Code is in itself a hurdle. While the v2 features are better in the long run I think each such complication can be a hindrance in the beginning. This means the new user needs to use Try, IsSet(), Has() and so on more often whereas they in v1 often can simply check if a value is blank or not.

For example v2 WinGetTitle throws if the window is not found. The v2 error reporting is a double edged sword because v2 also throws a lot more errors and forces the user to be more precise in certain use cases. Most of the topics in v2 help are either on v1 to v2 issues or more complex stuff that a new user is unlikely to start out with. It is much harder to get starting without that. V1 is where most of the existing forum help threads and example code is. If someone is completely new (and no experience from other programming languages) I'm not so sure. But that's because I already had v1 experience to build on. I'm still converting my old v1 scripts to v2 and I all in all prefer v2. its got better error reporting(tells u what u did wrong), better tooling(tells u what ure about to do wrong) and more closely resembles modern programming languages(gain transferable skills)
