分类:
2010-05-25 23:05:51
#include
#include
MsgBox(64, "通知 -by liyi", "5秒钟后登陆邮箱:xxxxxx@163.com", 5)
$oIE = _IECreate ("")
sleep(2000)
$oForm = _IEFormGetObjByName ($oIE, "login163")
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "xxxxxx")
$oQuery = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oQuery, "password")
$oQuery = _IEFormElementGetObjByName ($oForm, "selType")
$oQuery = _IEFormElementGetObjByName ($oForm, "登录邮箱")
_IEAction($oQuery ,"click")
sleep(2000)
_IEAction ($oIE, "visible")
MsgBox(64, "通知 -by liyi", "35秒钟后退出邮箱", 35)
_IELinkClickByText ($oIE,"退出")
MsgBox(64, "通知 -by liyi", "5秒钟后关闭IE", 5)
_IEQuit ($oIE)
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/bill_lee_sh_cn/archive/2010/03/23/5407729.aspx