<?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=11807&amp;type=atom" />
	<updated>2016-07-13T11:25:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11807</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Извлечение переменных из текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=106066#p106066" />
			<content type="html"><![CDATA[<p>Можно распарсить либо с помощью ReGexMatch, либо с помощью HTMLfile.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-07-13T11:25:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=106066#p106066</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Извлечение переменных из текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=106057#p106057" />
			<content type="html"><![CDATA[<p>Я прошу прощения за наверное глупый вопрос, как из HTML, попавшего в AHK в виде текста извлечь ссылки и текст в виде переменных? Должно это работать где-то так - AHK построчно ищет нужный тег, а потом извлекает что после него до определённого момента. </p><p>Google выдал StrX, что по описанию самое то, но как с ним работать я пока не понял. Это же актуальная его версия? </p><div class="codebox"><pre><code>StrX( H,  BS=&quot;&quot;,BO=0,BT=1,   ES=&quot;&quot;,EO=0,ET=1,  ByRef N=&quot;&quot; ) { ;    | by Skan | 19-Nov-2009
Return SubStr(H,P:=(((Z:=StrLen(ES))+(X:=StrLen(H))+StrLen(BS)-Z-X)?((T:=InStr(H,BS,0,((BO
 &lt;0)?(1):(BO))))?(T+BT):(X+1)):(1)),(N:=P+((Z)?((T:=InStr(H,ES,0,((EO)?(P+1):(0))))?(T-P+Z
 +(0-ET)):(X+P)):(X)))-P) ; v1.0-196c 21-Nov-2009 www.autohotkey.com/forum/topic51354.html
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pinusnigra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34038</uri>
			</author>
			<updated>2016-07-12T23:09:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=106057#p106057</id>
		</entry>
</feed>
