<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: RegExMatch в UrlDownloadToFile]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10414&amp;type=atom" />
	<updated>2015-02-17T00:43:17Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10414</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch в UrlDownloadToFile]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91622#p91622" />
			<content type="html"><![CDATA[<p><strong>Diman_Express</strong>, ваша &quot;Нужна помощь&quot; <a href="http://forum.script-coding.com/viewtopic.php?pid=44437#p44437">никому не нужна</a>. Отредактируйте заголовок ещё раз.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-02-17T00:43:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91622#p91622</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch в UrlDownloadToFile]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91620#p91620" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>FileRead, str, %A_AppData%\File.txt
RegExMatch(str, &quot;.*&gt;(\d+:\d+:\d+)&lt;.*&quot;, o)
lol := % o1
GuiControl,, Testg, %lol%</code></pre></div><p>Проблема решена. <strong>DD</strong>, спасибо</p>]]></content>
			<author>
				<name><![CDATA[Diman_Express]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30364</uri>
			</author>
			<updated>2015-02-17T00:38:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91620#p91620</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch в UrlDownloadToFile]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91619#p91619" />
			<content type="html"><![CDATA[<p>del</p>]]></content>
			<author>
				<name><![CDATA[DD]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25263</uri>
			</author>
			<updated>2015-02-17T00:34:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91619#p91619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: RegExMatch в UrlDownloadToFile]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91618#p91618" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>Diman_Express</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>2015-02-17T00:32:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91618#p91618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: RegExMatch в UrlDownloadToFile]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=91617#p91617" />
			<content type="html"><![CDATA[<p>Здравствуйте ув. юзеры, прошу у вас помощи.<br />Мой скрипт скачивает шаблон сайта (UrlDownloadToFile) и выделяет от туда таймер <br /></p><div class="codebox"><pre><code>attr-expire=&quot;1424139877&quot; attr-maxreloaddelay=&quot;60000&quot;&gt;02:19:07&lt;/div&gt;&lt;/div&gt;</code></pre></div><p>В первый раз мне помог друг, шаблон сайта изменился и теперь я не знаю как вычленить &quot;02:19:07&quot;<br />Пытался вот так: </p><div class="codebox"><pre><code>RegExMatch(str, &quot;attr-maxreloaddelay=&quot;&quot;@ &quot;&quot;&gt;(.*?)&lt;/div&gt;&quot;, o)
lol := % o1
GuiControl,, Testg, %lol%</code></pre></div><p>Напрасно.. Помогите пожалуйста<br />Вот весь код функи: </p><div class="codebox"><pre><code>Timer:
hFunc := RegisterCallback(&quot;FuncName&quot;)
DllCall(&quot;CreateThread&quot;, UInt, 0, UInt, 0, UInt, hFunc, UInt, 0, UInt, 0, UInt, 0)
DllCall(&quot;TerminateThread&quot;, UInt, hFunc, UInt, 0)
DllCall(&quot;CloseHandle&quot;, UInt, hFunc)
FuncName() {
    UrlDownloadToFile, http://2015.yearbeast.com/l/ru, %A_AppData%\File.txt
}
FileRead, str, %A_AppData%\File.txt
RegExMatch(str, &quot;attr-maxreloaddelay=&quot;&quot;@ &quot;&quot;&gt;(.*?)&lt;/div&gt;&quot;, o)
lol := % o1
GuiControl,, Testg, %lol%
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Diman_Express]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30364</uri>
			</author>
			<updated>2015-02-17T00:23:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=91617#p91617</id>
		</entry>
</feed>
