here is next example: #include <MsgBoxConstants.au3> #include <AutoItConstants.au3> #include <array.au3> #include <ie.au3> #include <WinAPIProc.au3> _IEErrorHandlerRegister(_ErrFunc) _Example() Func _Example() Local $iPID = Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe about:blank1-2 -noframemerging -private") Local $hwnd = 0 Local $oIE ConsoleWrite('$iPID = ' & $iPID & @CRLF) While 1 $hwnd = _WinAPI_EnumProcessWindows($iPID, False) If @error = 0 Then $hwnd = $hwnd[1][0] ConsoleWrite('$hwnd = ' & $hwnd & @CRLF) $oIE = _IEAttach($hwnd, 'hwnd') _IENavigate($oIE, "google.com") If Not @error Then ExitLoop EndIf Sleep(100) WEnd EndFunc ;==>_Example   But something sill is not working fine.
I'm tired, going sleep (02:00 AM)    
    • Like
    1