找回密码
 加入
搜索
查看: 2273|回复: 5

试试工具转换的高亮代码

[复制链接]
发表于 2013-8-14 15:41:59 | 显示全部楼层 |阅读模式
<span style="color: #F000FF;">#include</span>&nbsp;&lt;IE.au3&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Local</span>&nbsp;<span style="color:#AA0000;">$http</span>&nbsp;=&nbsp;<span style="color: #000090;">InputBox</span>('表单信息查找',&nbsp;'请输入网址')<BR><span style="color: #009933;">;~ Local $Form</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ $Http="https://passport.csdn.net/account/login"</span><span style="color: #009933;"></span><BR><span style="color:#AA0000;">$oIE</span>&nbsp;=&nbsp;_IECreate&nbsp;(<span style="color:#AA0000;">$Http</span>)<BR><span style="color:#AA0000;">$oForms</span>&nbsp;=&nbsp;_IEFormGetCollection&nbsp;(<span style="color:#AA0000;">$oIE</span>)<BR><span style="color:#AA0000;">$oFormshu</span>=&nbsp;"这个页面上共有"&nbsp;&&nbsp;<span style="color: #FF33FF;">@extended</span>&nbsp;&&nbsp;"个表单"<BR><span style="color: #000090;">MsgBox</span>(0,&nbsp;"表单信息",&nbsp;"这个页面上共有"&nbsp;&&nbsp;<span style="color: #FF33FF;">@extended</span>&nbsp;&&nbsp;"个表单")<BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", 'http://mail.163.com/')</span><span style="color: #009933;"></span><BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;'_______________________________________________________________________________')<BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;<span style="color:#AA0000;">$Http</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>)<BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;<span style="color:#AA0000;">$oFormshu</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>)<BR><span style="color: #009933;">;~ $oInputs = _IETagNameGetCollection($oIE, "INPUT")</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ For $oInput In $oInputs</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", 'Input === '&$oInput.name)</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", "   id === "&$oInput.id)</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", " type === "&$oInput.type& @CRLF& @CRLF)</span><span style="color: #009933;"></span><BR>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF;">Next</span><BR><span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$Form</span>&nbsp;In&nbsp;<span style="color:#AA0000;">$oForms</span><BR><span style="color: #009933;">;~         For $oInput In $oInputs</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", 'Form === '&$oInput.name& @CRLF& @CRLF)</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ FileWriteLine("表单信息.txt", "type === "&$oInput.type& @CRLF& @CRLF)</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~         Next</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ MsgBox(0, "表单名称", $Form.name)</span><span style="color: #009933;"></span><BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;'Form&nbsp;===&nbsp;'&$Form.id)<BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;'Form&nbsp;===&nbsp;'&$Form.name&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>)<BR><span style="color:#AA0000;">$oQuerys</span>&nbsp;=&nbsp;_IEFormElementGetCollection&nbsp;(<span style="color:#AA0000;">$Form</span>)<BR><span style="color: #0000FF;">For</span>&nbsp;<span style="color:#AA0000;">$Query</span>&nbsp;In&nbsp;<span style="color:#AA0000;">$oQuerys</span><BR><span style="color: #009933;">;~ MsgBox(0, "表单控件信息", "名称:"&$Query.name & " 类型:"&$Query.type)</span><span style="color: #009933;"></span><BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;"控件&nbsp;===&nbsp;"&$Query.name)<BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;"&nbsp;&nbsp;id&nbsp;===&nbsp;"&$Query.id)<BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;"type&nbsp;===&nbsp;"&$Query.type&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>)<BR><span style="color: #0000FF;">Next</span><BR><span style="color: #0000FF;">Next</span><BR><span style="color: #000090;">FileWriteLine</span>("表单信息.txt",&nbsp;'_______________________________________________________________________________'&&nbsp;<span style="color: #FF33FF;">@CRLF</span>&&nbsp;<span style="color: #FF33FF;">@CRLF</span>)<BR><span style="color: #009933;">;~ FileOpen('E:\文本\AU3自学手册[附件]\8-2\表单信息.txt')</span><span style="color: #009933;"></span><BR><span style="color: #009933;">;~ Run("notepad.exe")</span><span style="color: #009933;"></span><BR>
 楼主| 发表于 2013-8-14 15:42:45 | 显示全部楼层

无效代码无效代码无效代码

本帖最后由 lsb968 于 2013-8-14 15:51 编辑

无效代码无效代码无效代码无效代码
发表于 2013-8-15 08:54:08 | 显示全部楼层
怎么会这样?
发表于 2013-8-17 23:14:58 | 显示全部楼层
全是乱码啊,
发表于 2013-8-19 22:13:59 | 显示全部楼层
这是什么啊?看不了啊
发表于 2013-9-6 09:39:11 | 显示全部楼层
看不了....
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-25 14:47 , Processed in 0.070373 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表