Jump to content

Has anyone ran into this problem


Recommended Posts

<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 by diikee
Link to comment
Share on other sites

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??

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...