AutoIT 访问网页
来源:互联网 发布:最好的漫画软件 编辑:程序博客网 时间:2024/04/30 21:29
#include <IE.au3>
Local $oIE = _IECreate("http://www.baidu.com/")
_IELoadWait($oIE)
Local $oDiv = _IEGetObjById($oIE, "kw")
_IEFormElementSetValue($oDiv, "beautiful")
Local $oBtnSearch = _IEGetObjById($oIE, "su")
_IEAction ($oBtnSearch, "click")
_IELoadWait($oIE)
$oLinks = _IELinkGetCollection ($oIE)
Local $kwstr="百度词典"
For $oLink In $oLinks
$intext=_IEPropertyGet($oLink, "innertext")
Local $result = StringInStr($intext, $kwstr)
;MsgBox(0, "Link Info", "$text is " & $result)
If ($result) Then
MsgBox(0, "Link Info", "$text is " & $intext)
EndIf
Next
_IEQuit($oIE)
Local $oIE = _IECreate("http://www.baidu.com/")
_IELoadWait($oIE)
Local $oDiv = _IEGetObjById($oIE, "kw")
_IEFormElementSetValue($oDiv, "beautiful")
Local $oBtnSearch = _IEGetObjById($oIE, "su")
_IEAction ($oBtnSearch, "click")
_IELoadWait($oIE)
$oLinks = _IELinkGetCollection ($oIE)
Local $kwstr="百度词典"
For $oLink In $oLinks
$intext=_IEPropertyGet($oLink, "innertext")
Local $result = StringInStr($intext, $kwstr)
;MsgBox(0, "Link Info", "$text is " & $result)
If ($result) Then
MsgBox(0, "Link Info", "$text is " & $intext)
EndIf
Next
_IEQuit($oIE)
- AutoIT 访问网页
- AutoIt访问WebService
- AutoIt
- AUTOIT
- AutoIt
- autoit
- autoit
- autoit
- AutoIt
- 使用AutoIt自动登录sohu搜狐网页邮箱的代码
- 使用AutoIt自动登录163网易网页邮箱的代码
- 使用AutoIt自动登录sina新浪网页邮箱的代码
- Windows脚步开发工具Autoit及网页刷新实例介绍
- 使用Autoit搞定公司的OA系统--网页审批自动化
- 用AUTOIT(Au3)配合JQuery(Js)操作网页自动化
- 访问网页
- C#访问网页、保存网页
- autoit 修复
- 【转载】动态查找树
- 为什么Linux的fdisk分区时First Sector是63或2048?
- 美国十大最幸福科技公司:谷歌第四 苹果落榜
- Hibernate三种状态(Transient、Persistent、Detached)各种保存(save,persist,update,saveOrUpdte,merge,flush,lock)区别
- 内存数据库的基本原理与内存数据库的应用
- AutoIT 访问网页
- Solving A QuadraticEquation by Java
- 2013科目一理论考试
- Maven最佳实践:划分模块
- 2013年4月18日 23:37:54
- HttpServlet详解
- linux中wait与waitpid的差别
- 微软“MSDN”原版资源的“Share MSDN”最新中、英文硬盘版和网络版
- Android高级第十讲之AIDL与JNI