这个复选框的ID和名字都得不到,用什么方式才能全选所有文件呢!
注:用数字号码登录时需要填写验证码,请用个性邮箱或VIP名登陆
#include <IE.au3>
$Name = "****" ;设置用户名
$PassWord = "*****" ;设置密码
;登陆到QQ邮箱
$oIE = _IECreate("http://mail.qq.com", 0, 1, 1, 0);创建一个IE浏览器窗口
_IEAction($oIE, "visible");设置对象状态为可见
$oForm = _IEFormGetCollection($oIE, "form1")
$oQuery = _IEFormElementGetObjByName($oForm, "uin")
_IEFormElementSetValue($oQuery, $Name)
$oQuery = _IEFormElementGetObjByName($oForm, "pp")
_IEFormElementSetValue($oQuery, $PassWord)
$oQuery = _IEFormElementGetObjByName($oForm, "btlogin")
_IEAction($oQuery, "click")
Sleep(2000)
_IEAction($oIE, "visible")
;打开文件中转站页面
$Url = _IEPropertyGet($oIE, "locationurl")
$Url = StringReplace($Url, "frame_html", "ftnExs_files")
$Url = StringReplace($Url, "zh_CN", "zh_CN&t=exs_ftn_files&loc=folderlist,,,35")
_IENavigate($oIE, $Url)
_IELoadWait($oIE)
;选择“全部”并“续期”
$oButton1 = _IEGetObjById($oIE, "ftSelect")
$oButton2 = _IEGetObjById($oIE, "btn_extend1")
Sleep(2000)
_IEAction($oButton1, "click")
_IEAction($oButton2,"click")
;_IEAction ($oIE, "quit") 关闭窗口
[ 本帖最后由 59993330 于 2009-1-7 18:57 编辑 ] |