Search found 405 matches

by vvhitevvizard
06 Dec 2018, 18:45
Forum: Ask For Help
Topic: AHK v2: converting/optimizing scripts Topic is solved
Replies: 266
Views: 32577

Re: Problems with objects and legacy syntax Topic is solved

thx for ur feedback. yeah, ur weird code does work in AHK v2 but it makes things even more complicated. and we still use %deref% here. and tbh I don't get what is parts * - haven't they removed * (pointer operator) long time ago? :D PS: What I meant is need for some kind of built-in function to conv...
by vvhitevvizard
06 Dec 2018, 14:57
Forum: Ask For Help
Topic: AHK v2: converting/optimizing scripts Topic is solved
Replies: 266
Views: 32577

Re: a few bugs Topic is solved

Those are not bugs at all. I will move the post to the Ask for help forums. I see. But is there a way to get rid of %deref% syntax and use something like (I know * (pointer operator) was removed in AHK v2): for i,k in [a1.Key1, a1.Key2] ;array with prototype class members *k:="new value" Once again...
by vvhitevvizard
06 Dec 2018, 14:27
Forum: Ask For Help
Topic: AHK v2: converting/optimizing scripts Topic is solved
Replies: 266
Views: 32577

AHK v2: converting/optimizing scripts Topic is solved

We discuss multiple AHK v2 issues here. Converting from AHK v1.1, optiming for performance and code size. Chime in! page 1: using %% operator to deref "obj1.objN.key" stringified objects page ~5: super-optimized json in-out function. page 8: pretty-printing of stringified Float numbers. alternative...
by vvhitevvizard
06 Dec 2018, 12:44
Forum: Ask For Help
Topic: a few bugs?
Replies: 5
Views: 1215

Re: a few bugs

Regardless of the value of StartingPos, the return value is always relative to the first character of Haystack. For example, the position of "abc" in "123abc789" is always 4. Ah I see. :D Thank u for quick reply! I updated 1st post with the snippet and new screenshot. Old ListView focus position is...
by vvhitevvizard
06 Dec 2018, 12:39
Forum: Ask For Help
Topic: a few bugs?
Replies: 5
Views: 1215

a few bugs?

bug 1 I'm not sure if the bug exists in AHK v1.1. Negative StartingPos for InStr: msgbox(InStr("4111.3",".",,-1)) ;says [b]5[/b] instead of [b]2[/b] ;If StartingPos is negative, the search is conducted in reverse (right-to-left), ; starting at that position from the right. For example, -1 starts at...

Go to advanced search