Internet Explorer for Script

Share your ideas as to how the documentation can be improved.
User avatar
lmstearn
Posts: 332
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn
Contact:

Internet Explorer for Script

25 May 2020, 10:22

Code in ComObjCreate:
ie := ComObjCreate("InternetExplorer.Application")
ie.Visible := true ; This is known to work incorrectly on IE7.
ie.Navigate("https://www.autohotkey.com/")
---------------------------
test.ahk
---------------------------
Error: 0x800401F3 - Invalid class string

Line#
---> 001: ie := ComObjCreate("InternetExplorer.Application")
The reason is that in a previous iteration of Windows, 32 bit Internet Explorer was removed from this computer in favour of IE64. Unfortunately, Windows Update somehow put an end to that. Thus, there is no Internet Explorer on the computer.
It might help the small, (but growing?) portion of AHK users without IE installed to indicate the script won't work without it.
Of interest is that URLDownloadToFile continues to work. So the engine of IE and its COM interface still resides on the PC, somewhere.
Thanks.
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
User avatar
nnnik
Posts: 4466
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Internet Explorer for Script

28 May 2020, 02:02

I doubt windows is going to remove internet explorer for rendering purposes anytime soon. Its still relevant to many UIs - even professional ones.
Recommends AHK Studio

Return to “Suggestions on documentation improvements”

Who is online

Users browsing this forum: No registered users and 2 guests