hmgsi 发表于 2009-2-10 13:14:43

如何判断已经打开的网页中出现了某文字??

如何判断已经打开的网页中出现了某文字??如果未出现继续判断,如果出现了则这行下面语句。

hmgsi 发表于 2009-2-10 13:18:51

发错地方了?

xsheep 发表于 2009-5-28 12:41:26

我想知道,我想得到这段文字

passkalilo 发表于 2009-9-3 11:03:45


while 1
   $sText = _IEBodyReadText($oIE)
   if StringInStr($sText,"test") then
      msgbox(0,"","发现test")
      exitloop
else
      sleep(500)
endif
WEnd

flschi 发表于 2009-9-30 16:28:47

哇。。。谢谢楼上的,刚好我也在找

chana_zh 发表于 2009-10-18 15:42:16

本帖最后由 chana_zh 于 2009-10-18 15:45 编辑

$oInputs = _IETagNameGetCollection ($oIE, "html")
For $oInput In $oInputs
    IfStringInStr ($oInput.innerText ,"某文字") Then
                ExitLoop
      EndIf
Next
页: [1]
查看完整版本: 如何判断已经打开的网页中出现了某文字??