Search found 1142 matches

by kczx3
Yesterday, 08:36
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 3
Views: 246

Re: WebView2 Control For Edge

I’d be open to work with you to determine why it didn’t work. We’re you getting any errors?
by kczx3
23 Sep 2020, 19:36
Forum: AutoHotkey v2 Scripts and Functions
Topic: WebView2 Control For Edge
Replies: 3
Views: 246

Re: WebView2 Control For Edge

You do realize I posted a complete working example of this here, right?
https://www.autohotkey.com/boards/viewtopic.php?f=83&t=79868
by kczx3
22 Sep 2020, 19:24
Forum: Ask For Help
Topic: Scrolling area within resizable window
Replies: 1
Views: 74

Re: Scrolling area within resizable window

I can post something tomorrow I’ve used based on his code. Though it was made using an older AHK v2 version.
by kczx3
09 Sep 2020, 06:53
Forum: Scripts and Functions
Topic: Emoji() : 40 unicode icons
Replies: 14
Views: 633

Re: Emoji() : Working script with 40 unicode icons

@jNizM agreed. Although that’s not available on all Win10 versions.
by kczx3
31 Aug 2020, 08:12
Forum: AutoHotkey v2 Help
Topic: Webview2 iDispatch
Replies: 5
Views: 294

Re: Webview2 iDispatch

I'm trying to find the time to gather my thoughts and questions a bit better. And to provide a working example for reference. Please excuse my delay in a formulated response and thank you for your reply.
by kczx3
26 Aug 2020, 08:24
Forum: AutoHotkey v2 Help
Topic: Webview2 iDispatch
Replies: 5
Views: 294

Re: Webview2 iDispatch

I feel like the issue with JS objects is somehow related to this note:
Microsoft wrote:Remote JavaScript objects like callback functions are represented as an VT_DISPATCH VARIANT with the object implementing IDispatch. The JavaScript callback method may be invoked using DISPID_VALUE for the DISPID.
by kczx3
24 Aug 2020, 21:07
Forum: Scripts and Functions
Topic: EnableIeDpi - Enable DPI for Shell.Explorer control
Replies: 5
Views: 762

Re: EnableIeDpi - Enable DPI for Shell.Explorer control

The meta tag should be inside the head tag.
by kczx3
24 Aug 2020, 14:22
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 20
Views: 1392

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

I echo @JoeWinograd's thoughts about decompressing the compressed executable via MPRESS or UPX. You'd really need a password to encrypt/hash against and the person with the executable would need to know the password to decrypt, right?
by kczx3
24 Aug 2020, 11:21
Forum: Scripts and Functions
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
Replies: 44
Views: 10256

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

Technically, yes. However, no version prior to IE11 is supported. Nor is it recommended by Microsoft to my knowledge. I wouldn't personally put any work in to supporting anything other than IE11. And even then, soon the WebView2 control will be GA and you can ship the Edge (Chromium) RunTime install...
by kczx3
24 Aug 2020, 10:21
Forum: Scripts and Functions
Topic: [Library] Neutron.ahk - AutoHotkey Web GUIs on Steroids
Replies: 44
Views: 10256

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

IE would be required to my knowledge. And I'm not sure how easy it is to completely uninstall IE. Doing some quick searching it seems like IE11 is considered a "feature" of the OS and must be removed in a different way than just uninstalling a program.
by kczx3
18 Aug 2020, 09:55
Forum: AutoHotkey v2 Help
Topic: Webview2 iDispatch
Replies: 5
Views: 294

Re: Webview2 iDispatch

I'm able to get this to work by passing vref to the browser. vbuf := BufferAlloc(24, 0) vref := ComObject(0x400C, vbuf.ptr) ; 0x400C is a combination of VT_BYREF and VT_VARIANT. vref[] := (*) => MsgBox("From AHK", "Hello!", "YN") Setting vref to an AHK Array sort of works however I can't figure out ...
by kczx3
18 Aug 2020, 07:58
Forum: AutoHotkey v2 Help
Topic: Webview2 iDispatch
Replies: 5
Views: 294

Re: Webview2 iDispatch

Guessing I shouldn't implement it directly...
IDispatch wrote:Generally, you should not implement Invoke directly
by kczx3
18 Aug 2020, 07:55
Forum: AutoHotkey v2 Help
Topic: Webview2 iDispatch
Replies: 5
Views: 294

Webview2 iDispatch

The WebView2 control allows you to add host objects to the script. The information on what types it allows is described here - AddHostObjectToScript . It states that it supports IDispatch and I thought that AHK's objects supported that since we can pass them to IE. I seem to be able to pass an objec...
by kczx3
17 Aug 2020, 07:27
Forum: General Discussion
Topic: WebView2
Replies: 10
Views: 5146

Re: WebView2

Thanks for keeping this up to date!!! :thumbup: ;) Up to date might be a stretch! This has just always intrigued me, mostly due to my disdain for Internet Explorer. I did some more work to wrap some of this functionality in a few utility classes and then a very basic class called WebView . Eventual...
by kczx3
16 Aug 2020, 20:14
Forum: Ask For Help
Topic: XMLDOM retrieve value from Empty elements
Replies: 2
Views: 1350

Re: XMLDOM retrieve value from Empty elements

That does not appear to be valid XML to me based on my understanding of the “language”.
by kczx3
15 Aug 2020, 08:25
Forum: AutoHotkey v2 Help
Topic: Interface implementation - QueryInterface never called
Replies: 2
Views: 1468

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: 1017

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.
AHK-WebView2.png
AHK-WebView2.png (80.36 KiB) Viewed 1017 times
by kczx3
14 Aug 2020, 07:54
Forum: AutoHotkey v2 Help
Topic: Interface implementation - QueryInterface never called
Replies: 2
Views: 1468

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...

Go to advanced search