I'm currently in the process of rewriting the code and it looks many times better in v2: so much easier to use.
For now, it reminds me of Ruby, which is not the best syntax ever, but it's a lot better than ahk v1.
Anyhow, the question. I expect Click to be a function, accepting args as any function out there, but it refuses to behave like one.
I expect this to work:
instead, it does nothing. It requires me to either concat everything into one string, separating by ugly spaces or just skip the parentheses. I know they're optional, but they make code a lot more readable.
Code: Select all
Click(W4Coords+40, W4Coords+40, 1)
Another question is about string concat. Why demanding spaces around .? Effetively, you're making people use three chars for concat instead of one. Annoying. If dot is a problem, can we have an alias so that instead of using three chars, we could use one + for example?