<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ListView и параметры INI]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8945&amp;type=atom" />
	<updated>2013-12-03T10:54:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8945</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77786#p77786" />
			<content type="html"><![CDATA[<p>Рабочий вариант, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-03T10:54:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77786#p77786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77780#p77780" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
While Pos  
    Pos := RegExMatch( TXT, &quot;m`a)^\s*\[(.*?)]\s*$&quot;, Match, Pos) 
    , Pos ? (Sections .= Match1 &quot;`n&quot;, Pos += StrLen(Match)
    , RegExMatch(Match1, &quot;\d+&quot;, Num)
    , NumSection := Num &gt; NumSection ? Num : NumSection) : &quot;&quot;
    
MsgBox % NumSection
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-02T17:36:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77780#p77780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77763#p77763" />
			<content type="html"><![CDATA[<p>100 вполне разумно.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-02T08:43:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77763#p77763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77762#p77762" />
			<content type="html"><![CDATA[<p>Значит нужен пример ини файла. <br />То есть может быть например всего 2 секции</p><div class="codebox"><pre><code>
[секция1]

[секция100]
</code></pre></div><p>И тут нужно число 100?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-02T08:24:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77762#p77762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77761#p77761" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>В 24 посте код выводящий количество всех секций, чем неустраивает?</p></blockquote></div><p>Тот код выдает самое большое число(секцию), так как они идут по порядку, а если секции идут в разноброс, то этот код уже без силен.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-02T03:48:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77761#p77761</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77760#p77760" />
			<content type="html"><![CDATA[<p>В 24 посте код выводящий количество всех секций, чем неустраивает? <br /></p><div class="quotebox"><cite>sergeiplugatyr пишет:</cite><blockquote><div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><div class="quotebox"><blockquote><p>привести пример кода который будет выдавать номер последней секции</p></blockquote></div><p>Это уже не интересно. Есть список секций, что мешает добавить их подсчёт в цикл?</p></blockquote></div><p>Хотите чтобы было интересно? Пожалуйста: можете привести пример кода который будет выдавать номер последней секции(они не пронумерованы).</p></blockquote></div><p>Ответ вам дан (Ван Дамм - блин <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> ), если это совсем не то, то видимо логично сформулировать свой вопрос иначе, нежели отвечать односложным вопросом, на односложный вопрос..</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-01T20:55:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77760#p77760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77753#p77753" />
			<content type="html"><![CDATA[<p>Не понял вопроса.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-01T14:23:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77753#p77753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77748#p77748" />
			<content type="html"><![CDATA[<p>И чем вас общее количество секций не устраивает?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-01T12:40:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77748#p77748</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77742#p77742" />
			<content type="html"><![CDATA[<p>Вот у меня в файле INI вес секции в разноброс(они пронумерованы), как сделать чтобы выдавалась самая большая секция?</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-12-01T08:13:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77742#p77742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77700#p77700" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
While Pos 
    Pos := RegExMatch( TXT, &quot;m`a)^\s*\[(.*?)]\s*$&quot;, Match, Pos)
    , Pos := Pos ? Pos += StrLen(Match) : 0
    , Sections .= Pos ? Match1 &quot;`n&quot; : &quot;&quot; 
    , AllSections := A_Index - 1
    
MsgBox % AllSections 
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-11-29T13:35:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77700#p77700</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77698#p77698" />
			<content type="html"><![CDATA[<p>Всеравно не могу понять как так сделать...</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-11-29T12:46:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77698#p77698</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77695#p77695" />
			<content type="html"><![CDATA[<p>Надо её использовать для подсчёта всех найденных секций в цикле:<br /></p><div class="codebox"><pre><code>
While Pos 
    Pos := RegExMatch( TXT, &quot;m`a)^\s*\[(.*?)]\s*$&quot;, Match, Pos)
    , Pos := Pos ? Pos += StrLen(Match) : 0
    , Sections .= Pos ? Match1 &quot;`n&quot; : &quot;&quot; 
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-11-29T10:54:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77695#p77695</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77694#p77694" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Не важно - пронумерованы они или нет, ответ в 18 посте. Переменную A_Index знаете?</p></blockquote></div><p>Знаю, вроде.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-11-29T10:48:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77694#p77694</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77692#p77692" />
			<content type="html"><![CDATA[<p>Не важно - пронумерованы они или нет, ответ в 18 посте. Переменную A_Index знаете?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-11-29T10:41:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77692#p77692</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ListView и параметры INI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77691#p77691" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><div class="quotebox"><blockquote><p>привести пример кода который будет выдавать номер последней секции</p></blockquote></div><p>Это уже не интересно. Есть список секций, что мешает добавить их подсчёт в цикл?</p></blockquote></div><p>Хотите чтобы было интересно?Пожалуйста: можете привести пример кода который будет выдавать номер последней секции(они не пронумерованы).</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-11-29T10:36:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77691#p77691</id>
		</entry>
</feed>
