找回密码
 加入
搜索
查看: 1832|回复: 0

[IE类操作] 【已解决】这个page为何用_IELinkGetCollection得不到任何link呢

[复制链接]
发表于 2012-11-15 14:32:41 | 显示全部楼层 |阅读模式
本帖最后由 lleheaven 于 2012-11-15 16:29 编辑
Opt("WinTitleMatchMode", 2)     ;1=开头, 2=子串, 3=完全, 4=高级 , -1 to -4=Nocase

$oNewIE = _IECreate("http://go.webex.com",0,1,1,1)

_IELoadWait ( $oNewIE )

$oIE =  _IEAttach("WebEx Meeting Center")

ConsoleWrite(IsObj($oIE) & @CRLF )


$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found")
For $oLink In $oLinks
    MsgBox(0, "Link Info", $oLink.href)
Next
自己研究了下,找到了, 要先_IEFrameGetCollection  拿到Frame 里面才有link~~~
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-22 11:35 , Processed in 0.081738 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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