PacNet MRTG monitoring

"telltay" <[email protected]> Sun, 16 Sep 2007 14:52:28 -0000
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
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/"


include <IE.au3>

; Create a browser window and navigate to PacNET
$oIE = _IECreate()
_IENavigate($oIE, "https://ops.pacific.net.sg/owl/")

; get pointers to the login form and username and password fields
$o_form = _IEFormGetObjByName($oIE, "login")
$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")
_IEFormSubmit($o_form)

Exit

Could someone advise me how I can get it working?