<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Как узнать количество строк в файле?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5945</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5945&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Как узнать количество строк в файле?».]]></description>
		<lastBuildDate>Sun, 21 Oct 2018 18:35:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129346#p129346</link>
			<description><![CDATA[<p>Замените StrReplace на RegexReplace.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Sun, 21 Oct 2018 18:35:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129346#p129346</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129345#p129345</link>
			<description><![CDATA[<p>Если не получится, значит и подсчитывать нельзя)). А если подсчитывать без StrReplace, но как-то иначе по рег. шаблону?</p>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Sun, 21 Oct 2018 17:49:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129345#p129345</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129344#p129344</link>
			<description><![CDATA[<p>Можно, только не получится.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 21 Oct 2018 16:54:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129344#p129344</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129334#p129334</link>
			<description><![CDATA[<p>Можно ли подсчитывать, используя StrReplace с регулярным выражением? —<br /></p><div class="codebox"><pre><code>all =
(
&lt;div id=&quot;1&quot;&gt;&lt;div id=&quot;2&quot;&gt;&lt;div id=&quot;3&quot;&gt;&lt;div id=&quot;4&quot;&gt;&lt;div id=&quot;5&quot;&gt;&lt;div id=&quot;6&quot;&gt;
&lt;div id=&quot;7&quot;&gt;
&lt;div id=&quot;8&quot;&gt;
)

StrReplace(all, &quot; id=&quot;&quot;\d+&quot;&quot;&quot;,, Count)
msgbox % Count</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Sun, 21 Oct 2018 13:32:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129334#p129334</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125121#p125121</link>
			<description><![CDATA[<p>Проще:<br /></p><div class="codebox"><pre><code>Src=
(
568588484w8446846846
http://forum.scrip&lt;div class=&quot;row&quot;t-coding.com/post.php?fid=13
http://forum.scrip&lt;div class=&quot;row&quot;t-coding.com/post.php?fid=13
568588484w8446846846
568588484w8446846846
http://forum.script-coding.com/post.ph&lt;div class=&quot;row&quot;p?fid=13
http://for&lt;div class=&quot;row&quot;um.script-coding.com/post.php?fid=13
568588484w8446846846
)

StrReplace(Src, &quot;&lt;div class=&quot;&quot;row&quot;&quot;&quot;,, Count)
MsgBox % Count </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 05 May 2018 20:27:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125121#p125121</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125119#p125119</link>
			<description><![CDATA[<p>)).<br /></p><div class="codebox"><pre><code>Src=
(
568588484w8446846846
http://forum.scrip&lt;div class=&quot;row&quot;t-coding.com/post.php?fid=13
http://forum.scrip&lt;div class=&quot;row&quot;t-coding.com/post.php?fid=13
568588484w8446846846
568588484w8446846846
http://forum.script-coding.com/post.ph&lt;div class=&quot;row&quot;p?fid=13
http://for&lt;div class=&quot;row&quot;um.script-coding.com/post.php?fid=13
568588484w8446846846
)
Src := StrReplace(Src, &quot;&lt;div class=&quot;&quot;row&quot;&quot;&quot;, &quot;&lt;div class=&quot;&quot;row&quot;&quot;&quot;, Count)

MsgBox % Count</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Sat, 05 May 2018 20:21:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125119#p125119</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125118#p125118</link>
			<description><![CDATA[<p>А в чём сложность?<br /><a href="https://autohotkey.com/docs/commands/StringReplace.htm">https://autohotkey.com/docs/commands/StringReplace.htm</a></p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Sat, 05 May 2018 20:07:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125118#p125118</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125115#p125115</link>
			<description><![CDATA[<p>Как узнать количество строк, содержащих «<span style="color: blue"><strong>&lt;div class=&quot;row&quot;</strong></span>»? —</p><div class="codebox"><pre><code>Src=
(
568588484w8446846846
http://forum.scrip&lt;div class=&quot;row&quot;t-coding.com/post.php?fid=13
568588484w8446846846
568588484w8446846846
http://forum.script-coding.com/post.ph&lt;div class=&quot;row&quot;p?fid=13
http://for&lt;div class=&quot;row&quot;um.script-coding.com/post.php?fid=13
568588484w8446846846
)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DD)]]></author>
			<pubDate>Sat, 05 May 2018 19:28:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125115#p125115</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49452#p49452</link>
			<description><![CDATA[<p>Так верно.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 26 Jun 2011 16:38:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49452#p49452</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49449#p49449</link>
			<description><![CDATA[<p>Тогда так?<br /></p><div class="codebox"><pre><code>FileRead, out, AutoHotkey Script.ahk
loop, parse, out, `n, `r
{
	Total:=a_index
	If (A_LoopField != &quot;&quot;)
		Num++
}
MsgBox % &quot;Всего строк &quot; Total &quot;`nНе пустых &quot; Num</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sun, 26 Jun 2011 16:06:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49449#p49449</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49447#p49447</link>
			<description><![CDATA[<div class="quotebox"><cite>InFlames пишет:</cite><blockquote><p>Как то так.<br /></p><div class="codebox"><pre><code>FileRead, out, AutoHotkey Script.ahk
loop, parse, out, `n, `r
{
	Total:=a_index
	If A_LoopField
		Num++
}
MsgBox % &quot;Всего строк &quot; Total &quot;`nНе пустых &quot; Num</code></pre></div></blockquote></div><p>На самом деле не совсем правильно. В таком варианте строку, содержащую единственный символ &quot;0&quot;, скрипт примет за пустую.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 26 Jun 2011 14:43:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49447#p49447</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49437#p49437</link>
			<description><![CDATA[<p>Спасибо большое!</p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Sun, 26 Jun 2011 07:02:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49437#p49437</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49436#p49436</link>
			<description><![CDATA[<p>Как то так.<br /></p><div class="codebox"><pre><code>FileRead, out, AutoHotkey Script.ahk
loop, parse, out, `n, `r
{
	Total:=a_index
	If A_LoopField
		Num++
}
MsgBox % &quot;Всего строк &quot; Total &quot;`nНе пустых &quot; Num</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sun, 26 Jun 2011 06:59:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49436#p49436</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Как узнать количество строк в файле?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=49435#p49435</link>
			<description><![CDATA[<p>Подскажите пожалуйста как узнать сколько строк в любом текстовом файле с помощью AHK и загнать в переменную.</p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Sun, 26 Jun 2011 05:38:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=49435#p49435</guid>
		</item>
	</channel>
</rss>
