#include <ie.au3>
;$oie=_IECreate("http://www.sciencedirect.com/science/article/pii/B9780122841514500002",1,1,1,0)
$oie=_IECreate("http://bloodjournal.hematologylibrary.org/cgi/pmidlookup?view=long&pmid=19433859",1,1,1,0)
;;;;;;;;;http://bloodjournal.hematologyli ... .long?sso-checked=1
;$oie=_IECreate("http://www.baidu.com",1,1,1,0)
_IELoadWait($oie)
$links=_IELinkGetCollection($oie)
$url= _IEPropertyGet($oIE,"locationurl")
MsgBox(0,0,$url)
;IF StringInStr($url,"bloodjournal.hematologylibrary.org") Then
For $link In $links
; If StringLower($link.id)="highwire_article_tabs" Then
MsgBox(0,"",$link.href)
; ExitLoop
;EndIf
Next
这个$link.href怎么处理,怎么写入数组,$links=_IELinkGetCollection($oie)这个$links本身不是数组吗?怎么转化呢? |