Search the Community
Showing results for tags '__IENavigate'.
-
When i try to wait loading of __IENavigate, that never wait Reproducer: #include <IE.au3> $oIE = _IECreate ('autoitscript.com') _IELoadWait($oIE) For $i=0 To 10 Step +1 __IENavigate($oIE, 'autoitscript.com', 1, 0x800) _IELoadWait($oIE) Next Sleep(5000) _IEQuit($oIE) Also i try to use $f_wait, 3th Parrameter of __IENavigate, but that also not work __IENavigate($o_object, $s_Url, $f_wait, $i_flags) Thanks for any tips
-
Hi, Can't resolve a problem with killing needed attached tabs, always is killed 3 from 5. Here is 6 links, 5 need to be killed: #include <IE.au3> #include <String.au3> $oIE = _IECreate('facebook.com') __IENavigate($oIE, 'm.facebook.com', 0, 0x800) __IENavigate($oIE, 'm.facebook.com', 0, 0x800) __IENavigate($oIE, 'm.facebook.com', 0, 0x800) __IENavigate($oIE, 'm.facebook.com', 0, 0x800) __IENavigate($oIE, 'm.facebook.com', 0, 0x800) sleep(5000) Dim $aIE[1] Dim $aRE[1] $aIE[0] = 0 $aRE[0] = 0 $i = 1 While 1 $oIE = _IEAttach ("", "instance", $i) If @error = $_IEStatus_NoMatch Then ExitLoop ReDim $aIE[$i + 1] ReDim $aRE[$i + 1] $aIE[$i] = $oIE $get = _IEPropertyGet($oIE, "locationurl") $aRE[$i] = $get $aIE[0] = $i $check = _StringBetween($get, "m.", ".com") If not @error then $oIE = _IEAttach ("", "instance", $i) ConsoleWrite('Get = '&$get&@CRLF) _IEQuit($oIE) sleep(200) EndIf $i += 1 WEnd MsgBox(0, "Browsers Found", "Number of browser instances in the array: " & $aIE[0]) Thank you in advance. Tedy.
- 1 reply
-
- IE
- __IENavigate
-
(and 2 more)
Tagged with: