找回密码
 加入
搜索
查看: 1652|回复: 1

[IE类操作] 如何再点收信呀

[复制链接]
发表于 2011-1-25 04:32:35 | 显示全部楼层 |阅读模式
#include <IE.au3>
$oIE = _IECreate ("http://mail.163.com")
WinSetState(_IEPropertyGet ($oIE,"hwnd"),"",@SW_MAXIMIZE)
_IELoadWait ($oIE)
$oForm = _IEFormGetObjByName ($oIE, "login163")
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "你的帐号")
$oQuery = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oQuery, "你的密码")
$oQuery = _IEFormElementGetObjByName ($oForm, "selType")
_IEFormElementOptionSelect ($oQuery , 1, 0, "byIndex")
_IEFormElementCheckboxSelect ($oForm, 0, "", 0, "byIndex")
_IEFormElementCheckboxSelect ($oForm, 1, "", 0, "byIndex")
$Elements = _IEFormElementGetCollection($oform)

For $Element In $Elements

If $Element.type = "Submit" Then $Element.click

Next

如何再点收信呀
 楼主| 发表于 2011-1-25 04:33:20 | 显示全部楼层
<DIV class=core><A hideFocus class=check onclick="fGoto('CC.goInbox();');this.blur()" href="javascript:fGoto();">收信</A><A hideFocus class=compose onclick="fGoto('CC.compose();');this.blur()" href="javascript:fGoto();">写信</A></DIV>
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-15 21:43 , Processed in 0.072387 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表