Search found 1253 matches

by kczx3
03 Mar 2021, 20:34
Forum: Scripts and Functions
Topic: LV_SetSelColors() - user-defined selection colors for ListViews
Replies: 20
Views: 3436

Re: LV_SetSelColors() - user-defined selection colors for ListViews

After a while I noticed that if I scroll up/down very quickly, the ListView would eventually freeze/get empty - even with the sample script. Is there any way to avoid this? Thanks. Your only hope is to add something like Critical, 100 to the function however that is not guaranteed to work either.
by kczx3
28 Feb 2021, 16:11
Forum: Forum Issues
Topic: Can't mark post as solution with Digi theme Topic is solved
Replies: 3
Views: 84

Re: Can't mark post as solution with Digi theme Topic is solved

It was in the Bug Reports section so you answered that. Thanks for the clarification!
by kczx3
28 Feb 2021, 14:50
Forum: Forum Issues
Topic: Can't mark post as solution with Digi theme Topic is solved
Replies: 3
Views: 84

Can't mark post as solution with Digi theme Topic is solved

Has the Digi theme always been lacking the button to mark a post as a answer/solution? Or is that functionality limited to certain subforums?
by kczx3
28 Feb 2021, 14:48
Forum: Bug Reports
Topic: ListView GetNext - first parameter validation Topic is solved
Replies: 2
Views: 297

Re: ListView GetNext - first parameter validation Topic is solved

Thanks for the detailed explanation and the fix!
by kczx3
23 Feb 2021, 13:57
Forum: AutoHotkey v2 Help
Topic: Weird COM behavior - msgbox causes crash Topic is solved
Replies: 5
Views: 180

Re: Weird COM behavior - msgbox causes crash Topic is solved

Why are you manually releasing the pointer before destroying the object? If you stop doing that does it throw any errors?
by kczx3
22 Feb 2021, 19:24
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 246

Re: Built in Chromium Support

I wouldn’t count on this ever happening
by kczx3
19 Feb 2021, 08:17
Forum: AutoHotkey v2 Development
Topic: Preview of changes: scope, function and variable references
Replies: 22
Views: 1146

Re: Preview of changes: scope, function and variable references

Thank you! That definitely helps and I appreciate your time to step through that for me :thumbup: A language construct would certainly make validation easier. I work in both PHP and JavaScript a lot so I do have a sense of both types of languages that do and don't have such constructs. I prefer to k...
by kczx3
18 Feb 2021, 09:14
Forum: AutoHotkey v2 Development
Topic: Preview of changes: scope, function and variable references
Replies: 22
Views: 1146

Re: Preview of changes: scope, function and variable references

Of course, you could just require the caller to pass an object in the first place That'd be nice if we could enforce that, wouldn't it :) Currently, we can only provide documentation for what to pass, and then validate the argument inside the function/method. So if I am expecting a callback to be p...
by kczx3
17 Feb 2021, 08:19
Forum: AutoHotkey v2 Development
Topic: Preview of changes: scope, function and variable references
Replies: 22
Views: 1146

Re: Preview of changes: scope, function and variable references

I think this from your original post is what made me think that they needed to be checked for. IsFunc("name") has also been removed; Type can be used to check for "Func" or "Closure" instead (and class Func may be added in future to permit the use of is Func checks) Ultimately, the goal is just to e...
by kczx3
16 Feb 2021, 20:30
Forum: Bug Reports
Topic: Version 2.0-a124 Not Defined Topic is solved
Replies: 2
Views: 90

Re: Version 2.0-a124 Not Defined Topic is solved

I think you downloaded the wrong a124. There are two versions: the primary and then a preview build with a bunch of other changes.
by kczx3
16 Feb 2021, 09:26
Forum: AutoHotkey v2 Development
Topic: Preview of changes: scope, function and variable references
Replies: 22
Views: 1146

Re: Preview of changes: scope, function and variable references

So to determine if something is callable we'd need to do:

Code: Select all

if (Type(myVar) ~= "Func|Closure" || HasMethod(myVar, "Call")) {
    myVar(true)
}
?
by kczx3
10 Feb 2021, 16:18
Forum: Wish List
Topic: [Request] Module Export
Replies: 25
Views: 6426

Re: [Request] Module Export

Again, I think that is a completely different topic than what this thread (your thread) is about. Package manager vs. Module/Namespaces
by kczx3
10 Feb 2021, 14:24
Forum: Wish List
Topic: [Request] Module Export
Replies: 25
Views: 6426

Re: [Request] Module Export

@Chunjee
I'm a bit confused by what you are wanting to point out on that page. It is quite large and frankly, I don't think package.json has anything to do with namespaces/modules. That is for declaring dependencies and managing them which I see as a totally separate topic.
by kczx3
02 Feb 2021, 20:26
Forum: Editors
Topic: Notepad++ styling language xml files
Replies: 5
Views: 585

Re: Notepad++ styling language xml files

It seems AutoGUI highlights the comments correctly but it highlights some of the other things strangely too. This is part of the problem when strings aren't required to be within delimeters like " and '.
by kczx3
02 Feb 2021, 20:18
Forum: Editors
Topic: Notepad++ styling language xml files
Replies: 5
Views: 585

Re: Notepad++ styling language xml files

Hmmm I see it too. I'm not sure though. I haven't used Notepad++ in a long time to edit AHK files. Technically, AHK comments must have white space before the semicolon OR start at the beginning of the line. I'm not sure how to force the space thing unfortunately. You might post this on the Notepad++...
by kczx3
01 Feb 2021, 10:15
Forum: Editors
Topic: Notepad++ styling language xml files
Replies: 5
Views: 585

Re: Notepad++ styling language xml files

Can you supply a code sample to reproduce?
by kczx3
31 Jan 2021, 11:56
Forum: AutoHotkey v2 Help
Topic: How to implement Gui.Destroy()? Topic is solved
Replies: 3
Views: 112

Re: How to implement Gui.Destroy()? Topic is solved

The first argument passed to your callback is the control that launched the event so I’d recommend renaming that parameter. I usually just name it ctrl
by kczx3
30 Jan 2021, 10:45
Forum: About This Community
Topic: Is lexikos still maintaining AHK?
Replies: 18
Views: 1537

Re: Is lexikos still maintaining AHK?

As long as it keeps churning out updates to v2 I think I'd be ok with that :D
by kczx3
30 Jan 2021, 09:27
Forum: Wish List
Topic: Allow built-in variables as default function parameters
Replies: 22
Views: 804

Re: Allow built-in variables as default function parameters

Would this possibly be due to how AHK “compiles” the code in the more complex scenarios? How the reported line number doesn’t actually match up with the actual line number

Go to advanced search