<?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=15572&amp;type=atom" />
	<updated>2020-08-04T20:08:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15572</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141461#p141461" />
			<content type="html"><![CDATA[<p>teadrinker, спасибо теперь все работает.</p>]]></content>
			<author>
				<name><![CDATA[plank1433]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40962</uri>
			</author>
			<updated>2020-08-04T20:08:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141461#p141461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141460#p141460" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>plank1433 пишет:</cite><blockquote><p>Подсчитать нужно то - что находится внутри этих папок на 1-ом уровне вложенности</p></blockquote></div><p>Тогда только так, наверно:<br /></p><div class="codebox"><pre><code>pd := tx := 0
Loop, Files, %A_ScriptDir%\*, D
{
   Loop, Files, %A_LoopFilePath%\*, D
   {
      lastThree := SubStr(A_LoopFileName, -2)
      if (lastThree = &quot;.pd&quot;)
         pd++
      if (lastThree = &quot;.tx&quot;)
         tx++
   }
}
MsgBox, pd: %pd%`ntx: %tx%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-08-04T19:03:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141460#p141460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141459#p141459" />
			<content type="html"><![CDATA[<p>SuBrex, а как его поменять ?</p>]]></content>
			<author>
				<name><![CDATA[plank1433]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40962</uri>
			</author>
			<updated>2020-08-04T18:35:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141459#p141459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141458#p141458" />
			<content type="html"><![CDATA[<p><strong>plank1433</strong><br />Так поменяйте путь.</p>]]></content>
			<author>
				<name><![CDATA[SuBrex]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40829</uri>
			</author>
			<updated>2020-08-04T18:28:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141458#p141458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141457#p141457" />
			<content type="html"><![CDATA[<p>teadrinker, спасибо<br />Но в этом случае - скрипт выводит - только количество папок, которые лежат рядом со скриптом.</p><p>Я может неправильно сформулировал вопрос.<br />Я спрашивал про подпапки этих папок, а не про сами папки.</p><p>Подсчитать нужно то - что находится внутри этих папок на 1-ом уровне вложенности (дальше не надо).</p>]]></content>
			<author>
				<name><![CDATA[plank1433]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40962</uri>
			</author>
			<updated>2020-08-04T17:12:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141457#p141457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141435#p141435" />
			<content type="html"><![CDATA[<p>Про скорость не знаю, можно сравнить, если есть желание. Но в старом синтаксисе есть баг, который возникает, если паттерн это просто число. Тогда будет работать, как обычный Loop.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-08-03T17:01:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141435#p141435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141434#p141434" />
			<content type="html"><![CDATA[<p>Интересно, изменился только синтаксис или скорость обработки повысили?</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2020-08-03T16:58:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141434#p141434</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141417#p141417" />
			<content type="html"><![CDATA[<p><strong>Alectric</strong>, ну если вы из 2008 пишете, тогда да, а так есть <a href="https://www.autohotkey.com/docs/commands/LoopFile.htm">Loop, Files</a>.<br /></p><div class="codebox"><pre><code>pd := tx := 0
Loop, Files, %A_ScriptDir%\*, D
{
   lastThree := SubStr(A_LoopFileName, -2)
   if (lastThree = &quot;.pd&quot;)
      pd++
   if (lastThree = &quot;.tx&quot;)
      tx++
}
MsgBox, pd: %pd%`ntx: %tx%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-08-03T14:16:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141417#p141417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141415#p141415" />
			<content type="html"><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/LoopFilesFolders.html">Loop,% a_scriptdir,2</a></p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2020-08-03T13:07:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141415#p141415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Сколько названий подпапок заканчиваются конкретными буквами]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141409#p141409" />
			<content type="html"><![CDATA[<p>Доброго времени суток, форумчане.<br />У меня появился такой вопрос.<br />Помогите его решить.</p><p>Как при помощи ahk - проверить подпапки (1-го уровня вложенности) той папки где лежит скрипт - на предмет того сколько в них папок - заканчиваются буквами &quot;.pd&quot; а сколько буквами &quot;.tx&quot; ?<br />(И вывести результат msgbox)</p>]]></content>
			<author>
				<name><![CDATA[plank1433]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40962</uri>
			</author>
			<updated>2020-08-03T11:07:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141409#p141409</id>
		</entry>
</feed>
