@wolf_II: Wow, bringing back memories, nicely done.
Since you can't do assignment on IfEqual,
no one method can do everything!
@HotKeyIt: This is nice, I always wanted something like this,
when I started using AutoHotkey, I already knew Excel VBA.
I always thought AutoHotkey could be: 'like Excel VBA plus curly brackets'
... I think that's the perfect programming language.
I was thinking why not have a command style like this, with no commas:
MyCommand "Param1" "Param2" "Param3" "Param4"
MyCommandAsFunc(Param1, , Param3), when you don't need all the parameters.
Just scrap commas altogether for the command style.
Excel has one-liner 'If A Then B' and functions like InStrRev and Rept (aka String)
amongst others that I thought would be good as default commands for AHK,
since the beginning.
[EDIT: Actually, without commas you *must* put in . to concatenate strings, so keep commas! That's an advantage over Excel VBA that needs constant ampersands, &, to concatenate.]
@guest3456: Haha I don't hate writing docs, just that I'm doing so many
AHK things at the same time, should I even be spending this much time on AHK!
But I decided that for a few months, I would spend more time on it than usual,
to finish a great many things.
I look forward to collecting my notes on AHK v2, I can churn out some good docs
pretty fast, maybe a few weeks.
The problem with AHK v2 take-up is that most code at the moment is still written in AHK v1.
To improve AHK v2 take-up, I think we have to be creating users fluent in both AHK v1 and AHK v2
right now, who know how to convert their scripts, and some like me are seeking
two-way compatible scripts initially, as far as possible, and why wouldn't anybody want that convenience.
I've very recently come to the conclusion that putting more features into AHK v1 to ease the transition,
while keeping AHK v2 clean and pure, is probably the best way to go, with some possible AHK v1 mode
global variables for AHK v2.
Re. tutorials/docs, I've started with a character guide, because characters are the hardest thing to search for in any documentation.
jeeswg's tutorial pages - AutoHotkey Community