Automating mailcity (web mail) login.


Here is my sample code for automated opening of webmail account login.




#include <IE.au3>
#include <String.au3>
#include <array.au3>
#Include <Date.au3>
#include "myFunctions.au3"


$oIE = fnOpenURL("http://mail.lycos.com", "3000")

$oFrames = _IEFrameGetCollection ($oIE)
$oFrame = _IEFrameGetCollection ($oIE, 0)
$oElement = _IEGetObjById($oFrame, "m_U")
_IEFormElementSetValue ($oElement, "your id goes here")
$oElement = _IEGetObjById($oFrame, "m_P")
_IEFormElementSetValue ($oElement, "password here")

$oElement = _IEGetObjById($oFrame, "login")
_IEAction ($oElement, "click")
_IELoadWait ($oIE)



Labels:

Posted by Technology Yogi, Saturday, December 20, 2008 2:54 PM

0 Comments:

<< Home | << Add a comment