Re: Re: PacNet MRTG monitoring

"Julian@home" <[email protected]> Tue, 18 Sep 2007 00:24:52 +0800
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Thanks..

How do I submit the form?

*********** REPLY SEPARATOR ***********

On 17-09-2007 at 3:27 PM larrydalooza wrote:
--- In [email protected], "telltay" <julian88@...> wrote:
>
> Hi,
>
> I am new to AutoIT. I am trying to login to my provider website to
> print my MRTG graph. The website is "https://ops.pacific.net.sg/owl/"
>

not really up on IE.au3 but... load the main.php page

#include <IE.au3>

$oIE = _IECreate ("https://ops.pacific.net.sg/owl/main.php")
$oForms = _IEFormGetCollection ($oIE)

For $o_form In $oForms
$o_login = _IEFormElementGetObjByName($o_form, "userid")
$o_password = _IEFormElementGetObjByName($o_form, "password")

; Set field values and submit the form
_IEFormElementSetValue($o_login, "My userID")
_IEFormElementSetValue($o_password, "your password here")
ExitLoop
Next






[Non-text portions of this message have been removed]