<?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=5204&amp;type=atom" />
	<updated>2010-11-24T17:59:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5204</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: найти файл с непостоянным именем]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42197#p42197" />
			<content type="html"><![CDATA[<p>Понятно.<br /></p><div class="codebox"><pre><code>MsgBox, % Text := LastFileRead(&quot;E:\Downloads&quot;)   ; вместо &quot;E:\Downloads&quot; путь к папке в кавычках

LastFileRead(DirPath)
{
   Loop, %DirPath%\*.txt, 0
      Files .= (A_Index = 1 ? &quot;&quot; : &quot;`n&quot;) . A_LoopFileLongPath

   Sort, Files, R
   LastFile := SubStr(Files, 1, InStr(Files, &quot;`n&quot;) - 1)
   FileRead, Text, % LastFile
   Return Text
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-11-24T17:59:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42197#p42197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: найти файл с непостоянным именем]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42196#p42196" />
			<content type="html"><![CDATA[<p>Писал с телефона. У Nokia e71 нет 3 буквы с конца алфавита, так же как и твердого знака. Ошибка в прошивке.</p>]]></content>
			<author>
				<name><![CDATA[Fog]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26003</uri>
			</author>
			<updated>2010-11-24T17:57:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42196#p42196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: найти файл с непостоянным именем]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42144#p42144" />
			<content type="html"><![CDATA[<p>Конечно, помогут, но только если исправишь слово &quot;<strong><span style="color: red">е</span></strong>тот&quot; на &quot;<strong>э</strong>тот&quot;, и торжественно клянёшься в дальнейшем писать правильно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-11-24T13:15:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42144#p42144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: найти файл с непостоянным именем]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=42125#p42125" />
			<content type="html"><![CDATA[<p>У меня следующяя ситуация, в определенной папке каждый день создается файл. У етого файла всегда разное имя, но оно начинается с текущей даты. То есть 24.11.10....txt где &quot;...&quot; время в часах, минутах, секундах. То есть сегодня создается файл 24.11.10.00.12.31, а завтра 25.11.10.14.40.11. Сортировка по дате, етот файл всегда последний. А что нужно, нужно просто прочесть етот файл<br />Надеюсь более опытные товарищи помогут.</p>]]></content>
			<author>
				<name><![CDATA[Fog]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26003</uri>
			</author>
			<updated>2010-11-23T22:16:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=42125#p42125</id>
		</entry>
</feed>
