查了些资料
没找到办法 查到的资料是这样,不过我这个里面没有value 没法
$oButtons = _IETagnameGetCollection($oie, "button")
For $oButton in $oButtons
If String($oButton.value) = "btn" Then
_IEAction($oButton, "click")
EndIf
Next
感谢
另外请问下面这个是不是只能用于连接、? button用不了的?
Local $sMyString = "KVM Over IP"
Local $oLinks = _IELinkGetCollection($oie)
For $oLink In $oLinks
Local $sLinkText = _IEPropertyGet($oLink, "innerText")
If StringInStr($sLinkText, $sMyString) Then
_IEAction($oLink, "click")
ExitLoop
EndIf
Next
Local $oButs = _IETagNameGetCollection($oie, "button")
For $oBut In $oButs
If StringInStr($oBut.innertext, "KVM Over IP") Then
_IEAction($oBut, "click")
ExitLoop
EndIf
Next