<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Сохранение параметра ListBox]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=15359</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15359&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Сохранение параметра ListBox».]]></description>
		<lastBuildDate>Wed, 13 May 2020 14:43:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Сохранение параметра ListBox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=139505#p139505</link>
			<description><![CDATA[<p>Можно. Для этого нужно сохранять текущие настройки в файл или в реестр или куда ещё. А при запуске скрипта считывать эти настройки.<br />Вот тренировочный пример.<br /></p><div class="codebox"><pre><code>Gui, Font, ,
Gui, Add, ListBox, x20 y30 w75 h80 vList AltSubmit, Один|Два|Три|
Gui, Add, Button, x122 y30 w60 h25 gFunction, Функция
Gui, Add, Button, x202 y30 w60 h25 gFunction2, Функция2
Gui, Show, w305 h170, Window
Return

Function:
GuiControl, Choose, List, 2
Soundbeep
Return

Function2:
GUI, Submit, NoHide
msgbox, %List%
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 13 May 2020 14:43:27 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=139505#p139505</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Сохранение параметра ListBox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=139503#p139503</link>
			<description><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?pid=139211#p139211">http://forum.script-coding.com/viewtopi … 11#p139211</a></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 13 May 2020 14:32:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=139503#p139503</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Сохранение параметра ListBox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=139494#p139494</link>
			<description><![CDATA[<p>Здравствуйте!<br />Имею данный код:</p><div class="codebox"><pre><code>Gui, Font, ,
Gui, Add, ListBox, x20 y30 w75 h80 vList AltSubmit, Один|Два|Три|
Gui, Add, Button, x122 y30 w60 h25 gFunction, Функция
Gui, Show, w205 h170, Window
return</code></pre></div><p>Вопрос следующий:<br />Можно ли сделать так, если я в ListBox выберу, к примеру, параметр &quot;Два&quot;, то при следующем запуске AHK, этот параметр будет автоматически выбран?</p>]]></description>
			<author><![CDATA[null@example.com (efremov30ev)]]></author>
			<pubDate>Wed, 13 May 2020 07:36:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=139494#p139494</guid>
		</item>
	</channel>
</rss>
