diikee Posted May 31, 2008 Posted May 31, 2008 (edited) <TD class=endsub>A/C power frequency <SELECT id=OidSB1.2.12.1 onchange=setEcam(this) name=OidSB1.2.12.1><OPTION>50hz<OPTION selected>60hz</OPTION></SELECT> </TD> $ip = InputBox("Get Ip Address", "Enter IP Address: ") $oIE = _IECreate($ip, 0) _IENavigate($oIE, $ip) _IELoadWait($oIE) Sleep(2000) $ap = _IETagNameGetCollection($oIE, "SELECT") For $a in $ap If ($a.id) = "OidSB1.2.12.1" Then ;singleSelect("OidSB1.2.12.1") Sleep(1000) _IEFormElementOptionselect($a, "50hz", 1, "byText") Sleep(2000) _IEFormElementOptionselect($a, "60hz", 1, "byText") ExitLoop EndIf ; List all processes $list = ProcessList() ---->>>>It gets here but never goes through the ForLoop above for $i = 1 to $list[0][0] msgbox(0, $list[$i][0], $list[$i][1]) next Next >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\autoit\GTST.au3" >Process failed to respond; forcing abrupt termination...>Exit code: 0 Time: 20.076 Edited June 2, 2008 by diikee
nobbe Posted May 31, 2008 Posted May 31, 2008 maybe the previously opened IE handles need to be closed first?
diikee Posted June 2, 2008 Author Posted June 2, 2008 Even after closing all the open IE's, still getting the same failure >Process failed to respond; forcing abrupt termination...>Exit code: 0 Time: 29.215 Any tricks on closing the handles??
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now