#include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "http://mail.163.com/") $oForms = _IEFormGetCollection($oIE) $iNumForms = @extended MsgBox(0, 0, "表单个数:" & $iNumForms) For $i = 0 To $iNumForms - 1 $oForm = _IEFormGetCollection($oIE, $i) MsgBox(0, "表单名称:", $oForm.name) Next
举报
#include <IE.au3> $oIE = _IECreate ("http://mail.163.com") $oForms = _IEFormGetCollection ($oIE) MsgBox(0, "表单信息", "这个页面上共有" & @extended & "个表单") For $Form In $oForms MsgBox(0, "表单名称", $Form.name) $oQuerys = _IEFormElementGetCollection ($Form) For $Query In $oQuerys MsgBox(0, "表单控件信息", "名称:"&$Query.name & " 类型:"&$Query.type) Next Next
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-15 10:33 , Processed in 0.103473 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.