<?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=13071&amp;type=atom" />
	<updated>2017-10-16T23:17:57Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13071</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120110#p120110" />
			<content type="html"><![CDATA[<p><strong>svoboden</strong>, тут ошибочка в коде, раньше я ее всегда допускал. Перед &quot;`n&quot; не нужно ставить пробел.<br /></p><div class="codebox"><pre><code>Loop, Parse, process_list, `n</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2017-10-16T23:17:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120110#p120110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119956#p119956" />
			<content type="html"><![CDATA[<p>Если тээсу надо удалить строку, а не данные в ней, то вот еще вариант:</p><div class="codebox"><pre><code>process_list =
(
1
1
3
1
2
)

    Loop, Parse, process_list, `n
    {
    if A_Index not in 1
	FileAppend, %A_LoopField%`n,  %A_Desktop%\Output.txt
    }
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-10T16:13:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119956#p119956</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119939#p119939" />
			<content type="html"><![CDATA[<p>На самом деле я думаю что парень просто знает про команду FileReadLine но не догадывается, что можно в цикл его завернуть и вместо 1 A_Index указать. От этого и просьба удалять всегда первую строчку, чтобы он каждый раз читал её с помощью FileReadLine, var, path, 1. Но он ещё мне так и не ответил <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2017-10-09T16:57:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119939#p119939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119938#p119938" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>svoboden пишет:</cite><blockquote><p>Так первую строку, он тоже не просил удалять?</p></blockquote></div><p>Как же не просил? <br />Его просьбу я процитировал в 12 посту.<br /></p><div class="quotebox"><cite>svoboden пишет:</cite><blockquote><p>Я, думаю, если топикастартер хочет удалить данные из одной строки, то почему он оставит похожие строки?</p></blockquote></div><p>Да много может быть причин. Например зайти под каким-то логином повторно.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T16:39:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119938#p119938</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119936#p119936" />
			<content type="html"><![CDATA[<p>Так первую строку, он тоже не просил удалять? Я, думаю, если топикастартер хочет удалить данные из одной строки, то почему он оставит похожие строки?</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T16:32:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119936#p119936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119934#p119934" />
			<content type="html"><![CDATA[<p>А при чем тут данные?<br />У вас скрипт стирает все строки, которые идентичны единице.<br />Где вы увидели, что топикстартер просил это делать?<br /></p><div class="codebox"><pre><code>process_list =
(
1
2
3
1
2
3
)

    Loop, Parse, process_list, `n
    {
        if A_LoopField not in 1
	     a.= A_LoopField &quot;`n&quot;
    }
msgbox % a
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T16:10:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119934#p119934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119933#p119933" />
			<content type="html"><![CDATA[<p>Если в скрипте нет данных, то, что он тогда сохранит.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T15:59:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119933#p119933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119932#p119932" />
			<content type="html"><![CDATA[<p>Тогда объясните по какому алгоритму работает ваш скрипт?<br />Потому как вы, сначала пишите одно условие, а в следующем варианте совсем другое.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T15:49:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119932#p119932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119931#p119931" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>работает не верно</p></blockquote></div><p>Почему не верно? А что должен сохранять скрипт, в котором отсутствуют данные.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T15:43:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119931#p119931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119930#p119930" />
			<content type="html"><![CDATA[<p>Почему не верно?:<br /></p><div class="codebox"><pre><code>process_list =
(
1
1
1
)

    Loop, Parse, process_list, `n
    {
        if A_LoopField in 1
	    FileAppend, %A_LoopField%`n,  %A_Desktop%\Output.txt
    }
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T15:42:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119930#p119930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119929#p119929" />
			<content type="html"><![CDATA[<p>И даже при таком условии ваш скрипт работает не верно:<br /></p><div class="codebox"><pre><code>process_list =
(
1
1
1
)

    Loop, Parse, process_list, `n
    {
        if A_LoopField not in 1
	    FileAppend, %A_LoopField%`n,  %A_Desktop%\Output.txt
    }
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T15:30:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119929#p119929</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119928#p119928" />
			<content type="html"><![CDATA[<p>Ну, в вопросе еще есть следующее: &quot;Нужно, чтобы скрипт брал с первой строчки данные &quot;ХХХХХХХХХХ&quot; до тире&quot;.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T15:23:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119928#p119928</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119927#p119927" />
			<content type="html"><![CDATA[<p>Разве?<br /></p><div class="quotebox"><cite>valeron_121 пишет:</cite><blockquote><p>Следующим шагом стереть первую строчку полностью</p></blockquote></div><div class="quotebox"><cite>valeron_121 пишет:</cite><blockquote><p>как удалять 1 строчку полностью, по завершению выполнения скрипта?</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T14:51:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119927#p119927</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119926#p119926" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, так тээсу надо удалить строку с определенными данными, а не именно первую.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-10-09T14:49:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119926#p119926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Берем текст из файла и заносим в переменные]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=119925#p119925" />
			<content type="html"><![CDATA[<p><strong>svoboden</strong>, не верный вариант.<br /></p><div class="codebox"><pre><code>process_list =
(
7
2
3
)

    Loop, Parse, process_list, `n
    {
        if A_LoopField not in 1
	    FileAppend, %A_LoopField%`n,  %A_Desktop%\Output.txt
    }
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-10-09T14:38:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=119925#p119925</id>
		</entry>
</feed>
