lsb968 发表于 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>

lsb968 发表于 2013-8-14 15:42:45

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

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

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

llllllxllllll 发表于 2013-8-15 08:54:08

怎么会这样?

木头人 发表于 2013-8-17 23:14:58

全是乱码啊,

sunkiss 发表于 2013-8-19 22:13:59

这是什么啊?看不了啊

zhaoyun 发表于 2013-9-6 09:39:11

看不了....
页: [1]
查看完整版本: 试试工具转换的高亮代码