<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Копирование последних 10 строк из файла]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9664&amp;type=atom" />
	<updated>2014-06-03T20:55:08Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9664</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83646#p83646" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Мне казалось что помогу 4 сообщением, а не 5.</p></blockquote></div><p>Помог 4, просто я не заметил и процитировал 5.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-03T20:55:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83646#p83646</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83568#p83568" />
			<content type="html"><![CDATA[<p>Мне казалось что помогу 4 сообщением, а не 5.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-01T16:34:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83568#p83568</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83566#p83566" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Общее количество строк можно узнать проще:<br /></p><div class="codebox"><pre><code>
FileRead, Text, %A_ScriptFullPath% 
RegExReplace(Text, &quot;m`a)$&quot;, &quot;&quot;, RowCount)
MsgBox % RowCount
</code></pre></div><p>Но в данном случае это не требуется.</p></blockquote></div><p>Cпасибо! Вот ты мне реально помог! На много упростил свой кож, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-01T16:29:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83566#p83566</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83560#p83560" />
			<content type="html"><![CDATA[<p>Общее количество строк можно узнать проще:<br /></p><div class="codebox"><pre><code>
FileRead, Text, %A_ScriptFullPath% 
RegExReplace(Text, &quot;m`a)$&quot;, &quot;&quot;, RowCount)
MsgBox % RowCount
</code></pre></div><p>Но в данном случае это не требуется.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-01T09:08:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83560#p83560</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83559#p83559" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
FileRead, Text, *t %A_ScriptFullPath%   
StringReplace, Text, Text, `r, `n, 1  
MsgBox % SubStr(Text, InStr(Text, &quot;`n&quot;,, 0, 10)+1)
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-01T08:43:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83559#p83559</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83546#p83546" />
			<content type="html"><![CDATA[<p>Спасибо, но можно бы исходный код, очень бы помогли!</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-05-31T11:10:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83546#p83546</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83545#p83545" />
			<content type="html"><![CDATA[<p>Командой <em>FileReadLine</em>. Как узнать число строк в файле читайте <span class="bbu"><a href="http://forum.script-coding.com/viewtopic.php?id=5945">здесь</a></span>.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-05-31T11:09:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83545#p83545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Копирование последних 10 строк из файла]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=83543#p83543" />
			<content type="html"><![CDATA[<p>Здраствуйте, мне нужна ваша помощь. Мне нужен скрипт который будет копировать последние 10 строк из файла. Например: У меня есть файл text.txt в нем каждые 40 секунд добавляется строка с любым текстом. Мне нужно из этого файла считать последние 10 строк и вставить их в переменную &quot;Text1&quot;. Если такое возможно, напишите исходный код пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-05-31T10:07:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=83543#p83543</id>
		</entry>
</feed>
