Search found 454 matches
- 24 Aug 2021, 10:17
- Forum: AutoHotkey Development
- Topic: [a137] seed.
- Replies: 12
- Views: 5263
Re: [a137] seed.
I, for one, agree with you. Repeatability of rnd sequences is useful for profiling/optimizing.
- 04 Aug 2021, 04:04
- Forum: AutoHotkey Development
- Topic: if var in/contains comma-separated list/array
- Replies: 68
- Views: 34523
Re: if var in/contains comma-separated list/array
In my humble opinion, readability and user-friendliness of V2 is MUCH BETTER compared to V1!!! Since I had moved from V1 to V2 ~5 years ago, I never thought to come back.
V1's syntax, weirdness and nonuniformity is atrocious.
V1's syntax, weirdness and nonuniformity is atrocious.
- 27 Jul 2021, 03:34
- Forum: Announcements
- Topic: AutoHotkey v2.0-beta.1
- Replies: 47
- Views: 25367
Re: AutoHotkey v2.0-beta.1
U've done great job converting lots of AHK v1 scripts recently! Please make sure u do not discard original AHK V1 scripts so that the community could compare the conversion steps required.
- 27 Jul 2021, 03:16
- Forum: Announcements
- Topic: AutoHotkey v2.0-beta.1
- Replies: 47
- Views: 25367
Re: AutoHotkey v2.0-beta.1
Its been a while since AHK V2 became pretty much stable but people avoided it due to "alpha" monicker. :D Congratulations to the AHK community! update... from what? u cant possibly expect a migration guide for any random past alpha version. read the changelog and update accordingly. I believe the co...
- 17 Jul 2021, 20:22
- Forum: AutoHotkey Development
- Topic: New icons for v2
- Replies: 48
- Views: 19270
- 05 Jul 2021, 11:44
- Forum: AutoHotkey Development
- Topic: New icons for v2
- Replies: 48
- Views: 19270
- 19 Jun 2021, 16:06
- Forum: AutoHotkey Development
- Topic: What is v2
- Replies: 5
- Views: 3766
Re: What is v2
I really do not think autohotkey can be improved! In a nutshell, AHK v1 cannot be called a scripting language - its a set of heterogenous commands... 2. The code was humanly readable, even without training. I beg to differ - learning curve was relatively steep - a typical AHK v1 user couldn't write...
- 17 Jun 2021, 14:56
- Forum: AutoHotkey Development
- Topic: New icons for v2
- Replies: 48
- Views: 19270
Re: New icons for v2
Ragnar's one is more simple and simplicity wins in the long run.
- 05 Jun 2021, 13:45
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
@vvhitevvizard to be fair, this really depends whether you guys are barbarians who write your scripts with no whitespace around your operators ;) :lol: As far as I know, there r no coding style conventions for AHK. Barbarians r the ones who edit texts w/o syntax highlighting and suffer a lot from d...
- 05 Jun 2021, 07:59
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
The current V2 scripts would require some (really simple tho) regular expressions to swap "=" to "==" and then ":=" to "=".
- 05 Jun 2021, 05:49
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
It would require regular expressions to search and replace considering that "="/"==" comparison operators need to be replaced with "=="/"===" respectively.
- 28 May 2021, 10:35
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
The main benefit of making such a switch is never discussed. I suspect it was one of the most frequent topics in the past. Along with command syntax removal. :D What is the benefit? You can say it's easier to type, but after your change everyone must use == for comparison. Analyze ur own scripts an...
- 28 May 2021, 05:38
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
As mentioned, these long list of BASIC-like and Pascal-like dialects are not going anywhere. It doesn't matter how many basic or pascal variants exist. It won't make them more popular even combined. U've mentioned "TIOBE ranking". It lists C as top1 and Python as top2, followed by Java, C++, C#. Th...
- 28 May 2021, 02:52
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
basic/pascal WAS all over the place. Not anymore. U r correct about business criteria in addition to technical criteria like whether something is or is not good at syntax design/run time performance/etc. B.Stroustrup in his "C++ FAQ" covered that alot. Anyways, C family has insanely huge installed b...
- 28 May 2021, 02:03
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
If people want to use C/C++ or JavaScript, there is nothing stopping them from doing so more directly. There is arguably no need to make AutoHotkey more of a clone of what already exists. ... I've also never quite understood the bias against languages that don't look enough like C/C++. We have to a...
- 28 May 2021, 01:28
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
As for Pascal/Object Pascal/Delphi, it's not the only programming language using := (Go, Python, Ada, Smalltalk, Eiffel, PL/SQL, PLC Structured Text), so maybe it's not fair to frame an opposing argument in such a way. I've also never quite understood the bias against languages that don't look enou...
- 27 May 2021, 04:08
- Forum: AutoHotkey Development
- Topic: [wish] Wish delete = for comparing strings
- Replies: 46
- Views: 14061
Re: [wish] Wish delete = for comparing strings
This issue keeps coming up and the majority would vote for = instead of := . There r not so many Pascal's syntax admirers. :) Having ONLY 2-symbols comparison operators ( == , >= , != , etc) is completely logical and javascript-like triple equals === for strict comparison is okeyish, too. PS: == vs ...
- 22 May 2021, 04:22
- Forum: Bug Reports
- Topic: [a135] Possible bug with line continuation and ternary operators Topic is solved
- Replies: 4
- Views: 1929
Re: [a135] Possible bug with line continuation and ternary operators Topic is solved
a134->a135: More examples with that multiple line continuation issue: class gfx{ ;gfx obj with doublebuffering static AlphaBlend:=1 ;0=gp_bitblt, 1=gp_alphablend , Mode:=0 ;0=bm+setimage (REQ: "BackgroundTrans 0xE"), 1=dib+bitblt (115mcs vs 70mcs), 2=LayeredWindow , Smoothing:=4 ;anti-alias mode } e...
- 25 Apr 2021, 12:35
- Forum: Bug Reports
- Topic: Gui control hwnds larger than 0x7FFFFFFFFFFFFFFF
- Replies: 13
- Views: 5034
Re: Gui control hwnds larger than 0x7FFFFFFFFFFFFFFF
How is v2 doing, nowaways? From an end user point of view: to me AHK v1 looks like a universal set of specific commands with heterogeneous syntax but not a full-fledged scripting language. Pretty much the vast majority of the AHK v1.1 quirks and illogical/non systematic syntax got addressed. Hundre...
- 25 Apr 2021, 10:13
- Forum: Bug Reports
- Topic: [a133] a131->a133 unexpected warning Topic is solved
- Replies: 1
- Views: 435
[a133] a131->a133 unexpected warning Topic is solved
finished autoexecute code followed by a class definition: unwanted warning return class Cluster{ ;warning: this line will never execute due to Return preceeding it } I find this general warning to be very handy to hunt for code leftovers inside a function body or lines belonging to the autoexecute s...