<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Текст из файла в переменную для RegExMatch]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11505</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11505&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Текст из файла в переменную для RegExMatch».]]></description>
		<lastBuildDate>Mon, 18 Apr 2016 12:07:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Текст из файла в переменную для RegExMatch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=102710#p102710</link>
			<description><![CDATA[<p>И так, если я верно понял Вы хотели построчное чтение файла. В общем вот:</p><div class="codebox"><pre><code>File = D:\Radio.txt


Loop, Read, %File%
LineIndex = %A_Index%
start:
FileReadLine, Line, %File%, %LineIndex%
if (ErrorLevel == 1)
{
	LineIndex -= 1
	goto, start
}
if (Line == &quot;&quot;)
{
	LineIndex += 1
	goto, start
}
IfInString, Line, Совпадение
{
	MsgBox % &quot;Hello&quot;
}
;~ Sleep, 300 ; Для меньшей нагрузки
LineIndex += 1
goto, start
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (MoZg)]]></author>
			<pubDate>Mon, 18 Apr 2016 12:07:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=102710#p102710</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Текст из файла в переменную для RegExMatch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=102652#p102652</link>
			<description><![CDATA[<p>Есть файл D:\Radio.txt в нем любой текст.<br />Как его добавить в код<br /></p><div class="codebox"><pre><code>RegExMatch(file, &quot;(.*)&quot;, Match) ;
MsgBox, % Match1%</code></pre></div><p>При том что в файле добавляются строки и надо каждую из них проверять.</p>]]></description>
			<author><![CDATA[null@example.com (Carbone)]]></author>
			<pubDate>Sun, 17 Apr 2016 03:56:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=102652#p102652</guid>
		</item>
	</channel>
</rss>
