<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Последние 5 строк из переменной]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9740&amp;type=atom" />
	<updated>2014-06-27T13:01:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9740</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84285#p84285" />
			<content type="html"><![CDATA[<p>Я школьник, которому запал в душу AHK.<br />Можете поиздеваться, мне 15 лет.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-27T13:01:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84285#p84285</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84275#p84275" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>tuma4ok пишет:</cite><blockquote><p>В этой теме http://forum.script-coding.com/viewtopic.php?id=9664 мне нужно 10 строк из <strong>ФАЙЛА</strong>, а не из ПЕРЕМЕННОЙ.</p></blockquote></div><div class="quotebox"><cite>AHK: Копирование последних 10 строк из файла пишет:</cite><blockquote><p>Мне нужен скрипт который будет копировать последние 10 строк из <strong>файла</strong></p></blockquote></div><div class="quotebox"><cite>AHK: Последние 5 строк из переменной пишет:</cite><blockquote><p>у меня в <strong>файле</strong> стих из 16 строк, мне нужно этот стих получить в переменную, а потом из переменной последние 4 строки</p></blockquote></div><p>Видимо я совсем не понимаю русский язык.<br /></p><div class="quotebox"><cite>tuma4ok пишет:</cite><blockquote><p>делаю онлайн чат</p></blockquote></div><p>А ну это в корне меняет дело, ахтунг, все сделали тишину.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-27T12:04:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84275#p84275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84273#p84273" />
			<content type="html"><![CDATA[<p>Эй! В этой теме http://forum.script-coding.com/viewtopic.php?id=9664 мне нужно 10 строк из ФАЙЛА, а не из ПЕРЕМЕННОЙ. Не судите строго, делаю онлайн чат.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-27T11:51:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84273#p84273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84256#p84256" />
			<content type="html"><![CDATA[<p>Да нет, темы совершенно разные. Там надо было 10 строк, а тут 5.</p><p>Ждём интересные темы, требующие оригинальных решений, в духе:</p><p>AHK: Последние 15 строк из переменной<br />AHK: Последние 20 строк из переменной<br />и.т.п.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-26T18:05:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84256#p84256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84253#p84253" />
			<content type="html"><![CDATA[<p>Так вот кто лишние темы создаёт! <span class="postimg"><img src="http://i.smiles2k.net/cool_smiles/to_keep_order.gif" alt="http://i.smiles2k.net/cool_smiles/to_keep_order.gif" /></span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-06-26T17:20:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84253#p84253</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84251#p84251" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>tuma4ok пишет:</cite><blockquote><p>Это я образно. Вот на пример у меня в файле стих из 16 строк, мне нужно этот стих получить в переменную, а потом из переменной последние 4 строки скопировать в другую переменную.</p></blockquote></div><p>У меня <a href="http://forum.script-coding.com/viewtopic.php?pid=83559#p83559">дежавю</a>?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-06-26T16:52:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84251#p84251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84247#p84247" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alectric пишет:</cite><blockquote><p>Нужно использовать &quot;Регулярные выражения&quot;.</p><div class="codebox"><pre><code>
Metka =
(
1
2
3
4
5
6
7
)
msgbox,% Metka

var:=RegExReplace(Metka, &quot;.*(.*\n.*\n.*\n.*\n)&quot;, &quot;$1&quot;)
; .* - значит &quot;все что угодно&quot;
; \n - переход на другую строку
msgbox,% var
</code></pre></div></blockquote></div><p>Спасибо, это решило мою проблему. Процитировал что бы другим помогло, если нужно кому нибудь.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-26T15:54:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84247#p84247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84245#p84245" />
			<content type="html"><![CDATA[<p>Вот, узнал как правильно<br /></p><div class="codebox"><pre><code>Metka = 
(
1
2
3
4
5
6
7
)</code></pre></div><div class="codebox"><pre><code>Metka2 = 
(
4
5
6
7
)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-26T14:00:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84245#p84245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84244#p84244" />
			<content type="html"><![CDATA[<p>Нужно использовать &quot;Регулярные выражения&quot;.</p><div class="codebox"><pre><code>
Metka =
(
1
2
3
4
5
6
7
)
msgbox,% Metka

var:=RegExReplace(Metka, &quot;.*(.*\n.*\n.*\n.*\n)&quot;, &quot;$1&quot;)
; .* - значит &quot;все что угодно&quot;
; \n - переход на другую строку
msgbox,% var
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2014-06-26T14:00:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84244#p84244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84243#p84243" />
			<content type="html"><![CDATA[<p>Это я образно. Вот на пример у меня в файле стих из 16 строк, мне нужно этот стих получить в переменную, а потом из переменной последние 4 строки скопировать в другую переменную.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-26T13:53:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84243#p84243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84237#p84237" />
			<content type="html"><![CDATA[<p>А где это переменные так выглядят?</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-06-26T11:12:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84237#p84237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84236#p84236" />
			<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-06-26T10:01:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84236#p84236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Последние 5 строк из переменной]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84215#p84215" />
			<content type="html"><![CDATA[<p>Здравствуйте, суть проблема такова. У меня есть переменные <strong>Metka</strong> и <strong>Metka2</strong>. Переменная <strong>Metka</strong> выглядит примерно так:<br /></p><div class="codebox"><pre><code>Metka = 1
2
3
4
5
6
7</code></pre></div><p>Мне нужно чтобы в <strong>Metka2</strong> были записаны последние 5 строк, выглядеть будет примерно вот так:<br /></p><div class="codebox"><pre><code>Metka2 = 3
4
5
6
7</code></pre></div><p>Помогите пожалуйста. Очень нужно.</p>]]></content>
			<author>
				<name><![CDATA[tuma4ok]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32022</uri>
			</author>
			<updated>2014-06-25T21:17:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84215#p84215</id>
		</entry>
</feed>
