Error 0x80020011 on ie.Refresh - IE 11

Advanced Macro Recorder/Editor.

Moderator: Pulover

jimmykent
Posts: 2
Joined: 23 Aug 2017, 11:39

Error 0x80020011 on ie.Refresh - IE 11

23 Aug 2017, 11:53

Hi,

First of all, I'd like to say Pulover's Macro Creator is a well crafted, easy to use software tool. Quite amazing actually!

I have a macro that generates this error (0x80020011 - Does not support a collection) on IE Method:Refresh (ie.Refresh("")). There are several other IE methods in the macro that execute without issue. Could this be an IE version compatibility problem perhaps?

Thanks in advance for any help!
Attachments
ie.Refresh error.JPG
ie.Refresh error.JPG (20.4 KiB) Viewed 2391 times
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Error 0x80020011 on ie.Refresh - IE 11

23 Aug 2017, 14:42

I got the same error as you when I used oWB.Refresh(""), but it worked fine when I removed the double quotes.

Code: Select all

q::
;[WBGet function]
;Basic Webpage Controls with JavaScript / COM - Tutorial - Tutorials - AutoHotkey Community
;https://autohotkey.com/board/topic/47052-basic-webpage-controls-with-javascript-com-tutorial/

WinGet, hWnd, ID, A
oWB := WBGet("ahk_id " hWnd)
oWB.Refresh()
oWB := ""
return
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
jimmykent
Posts: 2
Joined: 23 Aug 2017, 11:39

Re: Error 0x80020011 on ie.Refresh - IE 11

23 Aug 2017, 15:53

Excellent!

Thank you jeeswg.

Return to “Pulovers Macro Creator”

Who is online

Users browsing this forum: No registered users and 22 guests