<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: IniRead в непоказанное окно]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=9243</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9243&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: IniRead в непоказанное окно».]]></description>
		<lastBuildDate>Sun, 09 Feb 2014 09:33:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79948#p79948</link>
			<description><![CDATA[<p>Если окно не создано, то и эл. упр. не существует, управлять нечем. А если нужно именно создать окно, чтобы эл. упр. сразу принял нужное значение,<br /></p><div class="codebox"><pre><code>Gui, 2:add, edit, vEdit, % varEdit</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 09 Feb 2014 09:33:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79948#p79948</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79943#p79943</link>
			<description><![CDATA[<p>Хорошо, а если окно не показано, то как быть?</p>]]></description>
			<author><![CDATA[null@example.com (Vasil)]]></author>
			<pubDate>Sun, 09 Feb 2014 09:18:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79943#p79943</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79940#p79940</link>
			<description><![CDATA[<p>Нет понятия &quot;окно закрыто&quot;.<br />Окно может быть:<br />1. Создано (командой Add)<br />&nbsp; 1.1 Показано (командой Show)<br />&nbsp; 1.2 Скрыто (командой Hide, командой Close или красным крестиком в заголовке окна)<br />2. Уничтожено (командой Destroy)</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 09 Feb 2014 09:13:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79940#p79940</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79927#p79927</link>
			<description><![CDATA[<p><strong>ypppu,</strong><br /></p><div class="codebox"><pre><code>Load:
FileSelectFile, LoadTest,,, Выберите файл с настройками, *.ini
IniRead, varEdit, %LoadTest%, Main, test, %A_Space%
Gui, 2:Default
GuiControl,, Edit, % varEdit
return
</code></pre></div><p>Если сделать так, как сказали вы, то он будет управлять Edit только если окно активное/неактивное, а если второе окно не показано? То есть, я нажал на кнопку &quot;Загрузить&quot;, выбрал .ini, потом нажал на кнопку &quot;test&quot;, и у меня сразу появился текст считанный из .ini.</p>]]></description>
			<author><![CDATA[null@example.com (Vasil)]]></author>
			<pubDate>Sun, 09 Feb 2014 08:47:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79927#p79927</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79925#p79925</link>
			<description><![CDATA[<p>Опишите поподробнее, что за посыл информации и в какое именно окно.<br />Судя по коду, Вы хотите изменить эл. упр. Edit, относящийся к окну &quot;2&quot;. Но оно не является <em>окном по умолчанию</em>.</p><div class="quotebox"><cite>Документация пишет:</cite><blockquote><p><strong>Gui, GuiName:Default</strong><br />Changes the current thread&#039;s default GUI window name, which is used whenever a window name is not specified for GuiControl, GuiControlGet, and the Gui command itself. In the following example, the default window name is changed to &quot;MyGui&quot;: Gui MyGui:Default. See thread&#039;s default window for more information about the default window.</p></blockquote></div><p>Чтобы для текущего потока (а именно для команды GuiControl) окно &quot;2&quot; стало <em>окном по умолчанию</em>, необходимо выполнить команду </p><div class="codebox"><pre><code>Gui, 2:Default</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 09 Feb 2014 08:33:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79925#p79925</guid>
		</item>
		<item>
			<title><![CDATA[AHK: IniRead в непоказанное окно]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=79909#p79909</link>
			<description><![CDATA[<p>Приветствую всех. Случилась такая проблема, не могу послать информацию в не показанное окно GUI. Вот код:<br /></p><div class="codebox"><pre><code>Gui, add, button, gtest, test
Gui, add, button, gload, Загрузить
Gui, show
return

test:
Gui, 2:Destroy
Gui, 2:add, edit, vEdit,
Gui, 2:show
return

Load:
FileSelectFile, LoadTest,,, Выберите файл с настройками, *.ini
IniRead, varEdit, %LoadTest%, Main, test, %A_Space%
Gui, Submit, NoHide
GuiControl,, Edit, % varEdit
return

GuiClose:
ExitApp</code></pre></div><p>Но если я поставлю кнопку загрузки во второе окно, то все работает. В чем проблема?</p>]]></description>
			<author><![CDATA[null@example.com (Vasil)]]></author>
			<pubDate>Sun, 09 Feb 2014 07:07:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=79909#p79909</guid>
		</item>
	</channel>
</rss>
