本帖最后由 index_swf 于 2009-8-3 13:42 编辑
回复楼上的:
自动登录163的脚本#include <IE.au3>
$oIE = _IECreate("http://mail.163.com/")
$oForm = _IEFormGetObjByName($oIE, "login163")
$oQuery = _IEFormElementGetObjByName($oForm, "username")
_IEFormElementSetValue($oQuery, "在这里输入用户名")
$oQuery = _IEFormElementGetObjByName($oForm, "password")
_IEFormElementSetValue($oQuery, "在这里输入密码")
$oQuery = _IEFormElementGetObjByName($oForm, "selType")
_IEFormElementOptionSelect($oQuery, 2, 1, "byIndex", 1)
$oQuery = _IEFormElementGetObjByName($oForm, "登录邮箱")
_IEAction($oQuery, "click")
|