Search found 1165 matches

by kczx3
15 Aug 2020, 08:25
Forum: AutoHotkey v2 Help
Topic: Interface implementation - QueryInterface never called
Replies: 2
Views: 1484

Re: Interface implementation - QueryInterface never called

I see! Thank you for helping clear that up for me. It seems logical now and I should have inferred that.

The for-loop was remnants from code by @Flipeador of a much earlier v2 version.
by kczx3
14 Aug 2020, 14:31
Forum: AutoHotkey v2 Scripts and Functions
Topic: PoC: Hosting Microsoft Edge via WebView2
Replies: 1
Views: 1099

PoC: Hosting Microsoft Edge via WebView2

Developed with v2-a121. Extract zip and run webview2.ahk . The GUI has all the details. I have no idea what I'm doing so definitely offer any words of advice in what I did wrong. This class requires that you either have the Beta, Dev, or Canary Channel of Edge installed OR you have the Webview2 Runt...
by kczx3
14 Aug 2020, 07:54
Forum: AutoHotkey v2 Help
Topic: Interface implementation - QueryInterface never called
Replies: 2
Views: 1484

Interface implementation - QueryInterface never called

I'm by no means even close to a novice when dealing with interfaces but it seems odd that QueryInterface is never called for any of the three interfaces that I define to use it in the following code. AddRef and Release both get called though. Is this normal? I think these interfaces have to be built...
by kczx3
13 Aug 2020, 13:00
Forum: General Discussion
Topic: WebView2
Replies: 15
Views: 5447

Re: WebView2

No idea if its correct/proper but TA-DA!!! The key was calling ObjAddRef on the interface pointer to the Controller inside of Invoke_2 because as soon as that event handler finished the ref count on the Controller interface was decrementing. And the documentation for ICoreWebView2Controller states: ...
by kczx3
13 Aug 2020, 10:58
Forum: General Discussion
Topic: WebView2
Replies: 15
Views: 5447

Re: WebView2

:bump: :) Wondering if anyone has ventured into this again with the updated webview2 api. Still crashes for me when trying to call Navigate.
by kczx3
12 Aug 2020, 21:00
Forum: Ask For Help
Topic: How to check for duplicates while pushing to array?
Replies: 3
Views: 2245

Re: How to check for duplicates while pushing to array?

Use an object instead otherwise you have to loop over the entire array every time you want to push a unique value to it.
by kczx3
12 Aug 2020, 20:55
Forum: Bug Reports
Topic: [a121] Loop Parse string issue.
Replies: 3
Views: 1662

Re: [a121] Loop Parse string issue.

Not at my computer but won’t this append to out twice per loop iteration?
by kczx3
08 Aug 2020, 20:40
Forum: AutoHotkey v2 Help
Topic: A strange __set() disturbance Topic is solved
Replies: 29
Views: 13672

Re: A strange __set() disturbance Topic is solved

@swagfag
Over or under - life’s greatest question haha
by kczx3
06 Aug 2020, 20:47
Forum: Scripts and Functions
Topic: [Base] array.ahk
Replies: 11
Views: 5204

Re: [Base] array.ahk

You might consider also mimicking the variations in the number of parameters that the callbacks can take as in JavaScript. So add some param count checking and flex what is passed based on the minParams of the callback.
by kczx3
04 Aug 2020, 20:46
Forum: AutoHotkey v2 Help
Topic: A strange __set() disturbance Topic is solved
Replies: 29
Views: 13672

Re: A strange __set() disturbance Topic is solved

I’m by no means even an advanced AHK user but I’ve had very few uses for meta functions in my day. They seem to make things more complex than they need to be.
by kczx3
29 Jul 2020, 20:34
Forum: Wish List
Topic: Second Section designation (Section2) in GUI options
Replies: 2
Views: 1773

Re: Second Section designation (Section2) in GUI options

I agree I’ve had many cases where this would be helpful. I generally try to use sections as much as I can. In v2, I just resort to storing the added control in a variable and using its position to place subsequent controls.
by kczx3
19 Jul 2020, 21:07
Forum: Wish List
Topic: More Flexibility with #Requires
Replies: 4
Views: 2639

Re: More Flexibility with #Requires

@lexikos
Silly question but why do you require the directive requirement to contain the word AutoHotkey?
by kczx3
16 Jul 2020, 20:57
Forum: AutoHotkey v2 Development
Topic: AutoHotkey v2 - give it a new name
Replies: 18
Views: 5177

Re: AutoHotkey v2 - give it a new name

Pretty sure #Requires defines a minimum version requirement.
by kczx3
16 Jul 2020, 15:13
Forum: AutoHotkey v2 Help
Topic: String prototype not available (AHK2) Topic is solved
Replies: 8
Views: 2517

Re: String prototype not available (AHK2) Topic is solved

@madsounds That makes two of us!
by kczx3
16 Jul 2020, 08:14
Forum: AutoHotkey v2 Development
Topic: GuiCtrl.GetPos()
Replies: 20
Views: 7455

Re: GuiCtrl.GetPos()

@vvhitevvizard the whole “single opt parameter string” was meant to bridge the gap. My preference is still either a method or property that returns an object as it used to.
by kczx3
16 Jul 2020, 08:12
Forum: Suggestions on documentation improvements
Topic: [a116] "Super" keyword: clarify first sentence
Replies: 5
Views: 1738

Re: [a116] "Super" keyword: clarify first sentence

For something like this, I’d say just submit a PR. If you’re looking at changing wording or how a paragraph is constructed, then maybe start here.
by kczx3
15 Jul 2020, 17:02
Forum: Suggestions on documentation improvements
Topic: [a116] "Super" keyword: clarify first sentence
Replies: 5
Views: 1738

Re: [a116] "Super" keyword: clarify first sentence

You’re more than welcome to submit a PR for any documentation changes. Especially something like this that is just a grammatical error.
by kczx3
15 Jul 2020, 16:59
Forum: Scripts and Functions
Topic: Stahky - Makin' stacks! (... of icons on your Taskbar)
Replies: 15
Views: 5405

Re: Stahky - Makin' stacks! (... of icons on your Taskbar)

Why even provide defaults honestly? Or make the defaults just be the default system menu colors.
by kczx3
14 Jul 2020, 14:19
Forum: Scripts and Functions
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
Replies: 52
Views: 11091

Re: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids

Why do you need a JS function to then call an AHK function? Can you just insert your new row into the DOM and attach the AHK function directly to the click event? This would require that you inject the AHK function into the JS context prior to the dynamic creation of the rows.

Go to advanced search