找回密码
 加入
搜索
查看: 2568|回复: 3

_IEFormElementGetCollection

[复制链接]
发表于 2008-5-16 12:28:45 | 显示全部楼层 |阅读模式
$oQuerys = _IEFormElementGetCollection 怎么用_ArrayDisplay完全表达出来呢?假如不知道_IEFormElementGetCollection 的对象都有哪些,即不知道是否有$oQuerys.name,$oQuerys.type,以及是否有其他的对象,总之要求把查询到的全部表达出来。
如何做到呢?

[ 本帖最后由 jiataifeng 于 2008-5-17 10:32 编辑 ]
发表于 2008-5-16 20:59:27 | 显示全部楼层
#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
 楼主| 发表于 2008-5-16 21:16:52 | 显示全部楼层
你是不是漏掉了 $Query.value+其他呢
 楼主| 发表于 2008-5-17 10:32:14 | 显示全部楼层
我看此贴到此为之吧。。。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-23 18:23 , Processed in 0.070393 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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