<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: If IniRead]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17321&amp;type=atom" />
	<updated>2022-08-16T04:42:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17321</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: If IniRead]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154413#p154413" />
			<content type="html"><![CDATA[<p>Сделал так.<br />Ваш пример нашел.</p><div class="codebox"><pre><code>
filePath := A_ScriptDir &quot;\Path.ini&quot;
section := &quot;section&quot;
key := &quot;Path&quot;
IniRead, pairs, % filePath, % section
m := &quot;&quot;
while RegExMatch(pairs, &quot;`amiO)^&quot; . key . &quot;=\K\V+&quot;, m, m ? m.Pos + m.Len : 1)
   MsgBox, % m[0]
</code></pre></div><p>Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-16T04:42:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154413#p154413</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: If IniRead]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154412#p154412" />
			<content type="html"><![CDATA[<p>В справку заглядывали?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-16T04:35:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154412#p154412</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: If IniRead]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154411#p154411" />
			<content type="html"><![CDATA[<p>Привет.<br />Подскажите пример, как проверить в ini файле секцию.<br />Допустим, в ini файле есть &quot;section&quot;, мне нужно, чтоб он проверил, если ли такая секция или то, что в секции(path например), если есть &quot;msgbox Ok&quot;, нет, msgbox &quot;No&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Logonius]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42542</uri>
			</author>
			<updated>2022-08-16T04:28:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154411#p154411</id>
		</entry>
</feed>
