Search found 405 matches

by vvhitevvizard
16 Jul 2020, 06:39
Forum: AutoHotkey v2 Development
Topic: Conflicts caused by V2
Replies: 10
Views: 4976

Re: Conflicts caused by V2

What are people doing with AHK v2, that they can't find a way to do in AHK v1? Are people really writing cutting edge programs on a totally different level? Purpose of any scripting language is not about being cutting edge programs, definitely not performance-wise. But scripting can be glue to draf...
by vvhitevvizard
16 Jul 2020, 06:04
Forum: AutoHotkey v2 Development
Topic: Conflicts caused by V2
Replies: 10
Views: 4976

Re: Conflicts caused by V2

I used V2 many years ago, but recently when I needed to write new code, I fell into conflict. I am using A-104, which is obviously old. I will not consider it when I write new code. So use the latest version A-115? It is also not an ideal candidate. Back V1? Not under consideration. As for me, I us...
by vvhitevvizard
16 Jul 2020, 05:46
Forum: AutoHotkey v2 Development
Topic: changing operators // and //= to only do integer or floor division
Replies: 17
Views: 5414

Re: changing operators // and //= to only do integer or floor division

For V2-116 change, its arguable for // and //= operators to be restricted by a divisor type; we expect a quotient to be a fixed pointer number but why the divisor can't be a floating point number still? Now it flags 10//2.5 as Error: Expected Integer but not a Float But this might be the intention t...
by vvhitevvizard
16 Jul 2020, 02:04
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

But it doesn't explain why non-instanced subclass's non-static method can be called directly. That's what expected: mreq.load() class mreq{ load(){ msgbox("3") } } -> Error: This value of type "Class" has no method named "load". And I would expect the same for calling a non-instanced subclass's non-...
by vvhitevvizard
16 Jul 2020, 00:54
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

Helgef Good morning! thx for quick reply! 37. just disregard any output. Use of the current obj.property realization has many issues. Such a pseudo-var is automatically considered by script writers to be a var and that leads to unexpected results. Same goes for byref arguments. Its easy to unintent...
by vvhitevvizard
15 Jul 2020, 20:38
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

lexikos That's terrible, and not something I would ever want to encourage. I just introduced u my style. Tastes may differ. It might be somewhat sub-optimal for a code shared between people or for uploading to github. But we have an interpreted scripting language here. Having ability to shorthand e...
by vvhitevvizard
15 Jul 2020, 20:02
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

lexikos Also I come up with additional suggestions (up to point 38 ). Most of my previous and following points propose command name's/syntax slight changes/addons/removals and focus on bringing more uniformity to the syntax: 5, 6, 13, 15, 25, 26, 27, 29 Some others concern debugging facility extens...
by vvhitevvizard
15 Jul 2020, 19:36
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

lexikos V2-113 thank u for resolving some of the mentioned issues and quirks. Feels good! Now it catches code leftovers including this typo of commentary following comma ( , ; ): a:=bufferalloc(d,0), ;commentary , , gp_setimage(_h.hwnd, hbm), ,gp_del(hbm) Also I realized (since V2-103) now it warns...
by vvhitevvizard
30 Jun 2020, 07:52
Forum: AutoHotkey v2 Development
Topic: scrap commands?
Replies: 50
Views: 12769

Re: scrap commands?

thread necromancy+1 Removal! The majority of misunderstanding stems from 2 syntax systems' co-existence. I don't use command syntax at all since I moved to AHK V2 coding 2-3 years ago. I never missed atrocious batch-like syntax of AHK V1. My thoughts against the reasons of keeping it: 1. Facility of...
by vvhitevvizard
30 Jun 2020, 05:57
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

v1.1.33 and v2.0-a113 will catch the stack overflow exception and display a message. By that point, the entire call stack will have unwound, so there will be no chance of recovery. :thumbup: 16... I have no idea what you're talking about. I try to rephrase what I meant: For a script that persists f...
by vvhitevvizard
30 Jun 2020, 04:47
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

lexikos 21... a .b is obviously invalid if a has no b property. Strings have no b property by default. Thank u for explanation. Lines concatenation rule seems to be overmastering here. What a pity. 12... How many functions must you define in global scope, that you need to cram them onto one line? S...
by vvhitevvizard
30 Jun 2020, 03:43
Forum: AutoHotkey v2 Development
Topic: Updated to v2-119. [list of 50 suggestions]
Replies: 78
Views: 27867

Re: Updated from v2-108 to v2-112. Just a bliss! Feels so good. But a [list of bugs/suggestions]

As for referencing an uninitialized variable in this context, it will raise a warning by default in the next release, even though its value is not being used . :thumbup: There will be no warning for merely lacking a declaration (because an undeclared variable can be assigned a value). Variable decl...
by vvhitevvizard
29 Jun 2020, 15:50
Forum: AutoHotkey v2 Development
Topic: [Suggestion] Generalize the double colon to be a global event handler
Replies: 4
Views: 1068

Re: [Suggestion] Generalize the double colon to be a global event handler

If we make the system highly dynamic we completely change the way the system works and completely throw away the most basic syntax most newbies use. Ironically, AutoHOTKEY's hotkey syntax felt the most outdated. Just provide newcomers with good deal of simple "know-how" Hotstring() examples coverin...
by vvhitevvizard
29 Jun 2020, 15:28
Forum: AutoHotkey v2 Development
Topic: Try/Catch instead of ErrorLevel Topic is solved
Replies: 7
Views: 2813

Re: Try/Catch instead of ErrorLevel Topic is solved

v2.0-a110 removes ErrorLevel and therefore should make the script above work. However, it should be noted that if "D:\test.txt" does not exist, it is still not treated as an error. I think it would be more intuitive and helpful to permit 0 copied files only when a wildcard is used, so I will likely...
by vvhitevvizard
29 Jun 2020, 10:26
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

Sorry for distraction. I proposed side notes. Not concerning ur designated fixed idea.
by vvhitevvizard
29 Jun 2020, 10:09
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

U could use all the methods together. Search for commented first line keywords, search for #requires , and just to give u a glimpse of my idea, searching with this regex "s):=gui\.new\(" would ensure u r having a deal with exactly AHK v2-112+ script. @vvhitevvizard I think you may be confused about ...
by vvhitevvizard
29 Jun 2020, 09:59
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

What if u get some scripts to assess (to run them and test) written by other ppl? Consider ppl start using #requires preprocessor directive soon. In other words, ur tool requires a user to re-edit scripts. I'm talking of ur script to analyze a script to be run a bit deeper: u might even start parsin...
by vvhitevvizard
29 Jun 2020, 09:50
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

TheArkive Well, its kinda impossible to edit all the scripts... especially written by other ppl... So u have to find ways of using fuzzy logic. AHK preprocessor's commands don't have to follow some order, #requires doesn't have to be in the 1st line of the script... ofc I'm talking of ur script bei...
by vvhitevvizard
29 Jun 2020, 09:45
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

TheArkive :thumbup: Also there might be new preprocessor command https://github.com/Lexikos/AutoHotkey_L-Docs/commit/3495cace587e3be99516c656f624be2676bdd6e5 So the regex would be something like: #requires\sAutohotkey\s[vV]?(\d+)(?:\.\d+)? and u gotta search some reasonable # of lines (first 4096 b...
by vvhitevvizard
29 Jun 2020, 09:29
Forum: Scripts and Functions
Topic: AHK Portable Installer v1.10
Replies: 46
Views: 9823

Re: AHK Portable Installer v1.8

TheArkive ; AHKv# as line 1 in the script just a suggestion: I find myself using slightly different first line commentary. And other ppl scripts might differ from each other, too. Make the search more fuzzy, try to find any: ";" any symbols "AHK" whitespace separator(s) whitespace "v" "1|2" within ...

Go to advanced search