举报
#include <IE.au3> $oIE = _IECreate("http://www.baidu.com/s?wd=%B0%D9%B6%C8%CB%D1%CB%F7%D7%F7%B1%D7",0,1,1) Sleep(5000) ;以下代码是点击搜索结果 $oLinks = _IELinkGetCollection($oIE) For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, "百度搜索作弊") Then _IEAction($oLink, "click") ExitLoop EndIf Next ;以上代码是点击搜索结果
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2026-6-11 02:46 , Processed in 0.076459 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2026 Discuz! Team.