<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Поочередно вставлять слово из списка слов.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14828&amp;type=atom" />
	<updated>2019-06-18T18:32:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14828</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поочередно вставлять слово из списка слов.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134709#p134709" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>FileRead, text, C:\222.txt
while RegExMatch(text, &quot;O)(\S+)\s*&quot;, m, m ? m.Pos + m.Len : 1)
   MsgBox, % m[1]</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-06-18T18:32:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134709#p134709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поочередно вставлять слово из списка слов.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134708#p134708" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Можете более компактно сжать этот код, если это возможно, пожалуйста, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Clannad5]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39853</uri>
			</author>
			<updated>2019-06-18T18:23:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134708#p134708</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поочередно вставлять слово из списка слов.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134679#p134679" />
			<content type="html"><![CDATA[<p><strong>inseption86</strong>, а зачем <em>StrSplit()</em> в цикле каждый раз заново делать?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-06-12T18:47:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134679#p134679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поочередно вставлять слово из списка слов.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134676#p134676" />
			<content type="html"><![CDATA[<p><strong>Clannad5</strong></p><div class="codebox"><pre><code>FileRead, OutputVar, C:\222.txt

Loop 
{
	
var:= Trim(StrSplit(OutputVar, A_Space)[A_Index],OmitChars := &quot; `t&quot;)

if var &gt; 0
{
MsgBox % var
}
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-06-12T16:03:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134676#p134676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Поочередно вставлять слово из списка слов.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=134675#p134675" />
			<content type="html"><![CDATA[<p>Здравствуйте!</p><p>Имеется txt файл с набором слов &quot;Вера Тера Мир Пока&quot;</p><p>Вопрос:</p><p>Как из файла .txt копировать, в переменную, слова по списку, что-то вроде такого:</p><div class="codebox"><pre><code>
read, C:\222.txt ;; Прочитали файл со словами всеми.
Var := вычитывает из 222.txt первое слово
Msgbox, % Var
Var := вычитывает из 222.txt второе слово
и тд
</code></pre></div><p>Прошу, помогите пожалуйста реализовать перебор слов, в переменную.</p>]]></content>
			<author>
				<name><![CDATA[Clannad5]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39853</uri>
			</author>
			<updated>2019-06-12T14:31:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=134675#p134675</id>
		</entry>
</feed>
