<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Сохранение CheckBox в .ini]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13912&amp;type=atom" />
	<updated>2018-07-09T06:24:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13912</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126867#p126867" />
			<content type="html"><![CDATA[<p>Нужно на английскую &quot;c&quot; заменить, а не на русскую, это разные символы.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-07-09T06:24:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126867#p126867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126866#p126866" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, При нажатии на кнопку в любом случае пишет, что галки нет.</p>]]></content>
			<author>
				<name><![CDATA[vlad-k1337]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39369</uri>
			</author>
			<updated>2018-07-09T06:22:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126866#p126866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126865#p126865" />
			<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>2018-07-09T06:21:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126865#p126865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126864#p126864" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, здесь исправил, но всё равно не хочет.<br /></p><div class="codebox"><pre><code>ButtonПроверка:
Gui, Submit, NoHide
if Cheсk &gt; 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[vlad-k1337]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39369</uri>
			</author>
			<updated>2018-07-09T06:16:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126864#p126864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126863#p126863" />
			<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>2018-07-09T06:11:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126863#p126863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126862#p126862" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, спасибо. Ещё вопросик. Хотел при этом присвоить условие, но не получилось. При нажатии на кнопку в любом случае пишет, что галки нет. Как быть?</p><div class="codebox"><pre><code>IniRead, Check, Settings.ini, Settings, Check, 0
Gui, Add, Button, x52 y70 w100 h30 , Проверка
Gui, Add, CheckBox, x2 y20 w70 h30 vCheck Checked%Check%, CheckBox
Gui, Show, x300 y285 h113 w224, CheckBox
OnExit, SaveData
Return


SaveData:
   Gui, Submit
   IniWrite, %Check%, Settings.ini, Settings, Check
   ExitApp

ButtonПроверка:
Gui, Submit, NoHide
if Chek &gt; 0
{
     MsgBox, Галочка стоит
}
Else
{
     MsgBox, Галочки нет
}
Return

GuiClose:
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[vlad-k1337]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39369</uri>
			</author>
			<updated>2018-07-09T05:59:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126862#p126862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126789#p126789" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, Подумал что нельзя использовать ту же переменную. Буду знать, что можно.</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-07T13:41:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126789#p126789</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126730#p126730" />
			<content type="html"><![CDATA[<p>Проще так:<br /></p><div class="codebox"><pre><code>IniRead, Check, Settings.ini, Settings, Check, 0
Gui, Add, CheckBox, h30 w100 vCheck Checked%Check%, CheckBox
Gui, Show
OnExit, SaveData
Return

GuiClose:
   ExitApp

SaveData:
   Gui, Submit
   IniWrite, %Check%, Settings.ini, Settings, Check
   ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-07-06T12:54:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126730#p126730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126729#p126729" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
#SingleInstance, force
IniRead, CheckVar, a.ini, CheckBox, Check
Gui, Add, CheckBox, h30 vCheck checked%CheckVar%, CheckBox
Gui, Add, Button, w100 h30 gReload, Button
Gui, Show,, Checkbox
return
GuiClose:
ExitApp

reload:
Gui, Submit, NoHide
CheckVar := Check
IniWrite, %CheckVar%, a.ini, CheckBox, Check
sleep 50
reload
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2018-07-06T11:23:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126729#p126729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Сохранение CheckBox в .ini]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126724#p126724" />
			<content type="html"><![CDATA[<p>Подскажите, как сохранить CheckBox в .ini с приведённом примером (полноценный код). Буду очень благодарен!</p>]]></content>
			<author>
				<name><![CDATA[vlad-k1337]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39369</uri>
			</author>
			<updated>2018-07-06T09:44:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126724#p126724</id>
		</entry>
</feed>
