Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_IEAttach not finding window

$
0
0
I am having a small nervous break down and maybe i am overlooking something.

On Server 2012 with IE10. I have autoIt click a link in IE that opens a new IE Windows. I have the following code that works maybe 1% of the time.

_IEAction($oLink, 'Click')
$windowTitle = "Assessment -"
$handle = WinWaitActive($windowTitle)
$o_popup = _IEAttach($handle,"hwnd")
ConsoleWrite(_IEDocReadHTML($o_popup))
WinClose(HWnd($handle))


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>