<?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=8723&amp;type=atom" />
	<updated>2013-10-04T15:45:51Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8723</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75750#p75750" />
			<content type="html"><![CDATA[<p>Благодарю,пока нет возможности проверить,об опытах отпишусь.</p>]]></content>
			<author>
				<name><![CDATA[ivanmyrka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30866</uri>
			</author>
			<updated>2013-10-04T15:45:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75750#p75750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75739#p75739" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>Zohann</strong>, не нужно торопиться, дайте возможность человеку исправиться. В следующий раз удалю пост.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-10-04T10:42:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75739#p75739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75716#p75716" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop, Read, chatlog.txt
    {    
    IfInString A_LoopReadLine, &gt;&gt; ПМ
        if RegExMatch(A_LoopReadLine, &quot;.*:\s(.*)&quot;, t) &gt; 0
            MsgBox %t1%    
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2013-10-04T07:03:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75716#p75716</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75701#p75701" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>ivanmyrka</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте свой пост.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-10-03T13:09:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75701#p75701</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75692#p75692" />
			<content type="html"><![CDATA[<p>Вот пока к чему пришел,но не работает</p><br /><div class="codebox"><pre><code>

Pattern1 := &quot;S) .*&gt;&gt; ПМ от.*(\R|$)&quot; , sPos1 := -150
LogFile = %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
FileRead, Log1, *t %LogFile%
 If RegExMatch(Log1, Pattern1, Match1, sPos1)
If RegExMatch(Match1, &quot;\):.*&quot;, line1)
If RegExMatch(Line1, &quot;.*&quot;, line2, 3)
SendInput {f6}/c %line2%{enter}
sPos1 := StrLen(Log1), (sPos1 = 0) ? sPos1 := 1
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ivanmyrka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30866</uri>
			</author>
			<updated>2013-10-02T20:56:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75692#p75692</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как вытащить тескт из строки после выполнения условия в строке]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=75691#p75691" />
			<content type="html"><![CDATA[<p>Имеется строка в постоянно пополняющимся txt файле:<br />[22:02:49] &gt;&gt; ПМ от blabla(292): кидай,жду.</p><p>Требуется:<br />проверять построчно есть ли в строке &quot;&gt;&gt; ПМ&quot;(при этом чтобы поиск не проходил по одной строке дважды).<br />Если строка имеет &quot;&gt;&gt; ПМ&quot; то скопировать данные после знаков &quot;: &quot;(может быть и текст,и цифры,и смешанный набор) в переменную,что бы использовать ее в след. команде.</p>]]></content>
			<author>
				<name><![CDATA[ivanmyrka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30866</uri>
			</author>
			<updated>2013-10-02T19:11:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=75691#p75691</id>
		</entry>
</feed>
