<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=14005</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14005&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.».]]></description>
		<lastBuildDate>Sun, 05 Aug 2018 01:41:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127693#p127693</link>
			<description><![CDATA[<p>Все работает спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sun, 05 Aug 2018 01:41:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127693#p127693</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127677#p127677</link>
			<description><![CDATA[<p>Только не вижу смысла разделять хоткеи&nbsp; на две переменные, используйте или&nbsp; A1-4&nbsp; или&nbsp; Key1-4!</p>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 04 Aug 2018 10:45:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127677#p127677</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127676#p127676</link>
			<description><![CDATA[<div class="codebox"><pre><code>Save1:
Loop, 4
{
Hotkey, % A%A_Index%, off, UseErrorLevel
GuiControlGet, A%A_Index%
Hotkey, % A%A_Index%, A%A_index%, on, UseErrorLevel
IniWrite, % A%A_Index%, Save.ini, Section, Key%A_Index%
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 04 Aug 2018 10:43:53 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127676#p127676</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127675#p127675</link>
			<description><![CDATA[<p>Посмотрите внимательно на свой код: <br /></p><div class="codebox"><pre><code>IniRead, Key1, Save.ini, Section, KEY1, % A_Space
IniRead, Key2, Save.ini, Section, KEY2, % A_Space
IniRead, Key3, Save.ini, Section, KEY3, % A_Space
IniRead, Key4, Save.ini, Section, KEY4, % A_Space
</code></pre></div><div class="codebox"><pre><code>IniWrite, % Key1 Seve.ini, Section, KEY1
IniWrite, % Key2 Seve.ini, Section, KEY2
IniWrite, % Key3 Seve.ini, Section, KEY3
IniWrite, % Key4 Seve.ini, Section, KEY4
</code></pre></div><p>Не замечаете различия в названиях ini файла? <br />Да и функцию IniWrite вы используете не верно.</p>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 04 Aug 2018 10:36:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127675#p127675</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Gui, Hotkey, Сохранить HotKey в ini фаил.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127673#p127673</link>
			<description><![CDATA[<p>Как сделать правильно?<br /></p><div class="codebox"><pre><code>
IniRead, Key1, Save.ini, Section, KEY1, % A_Space
IniRead, Key2, Save.ini, Section, KEY2, % A_Space
IniRead, Key3, Save.ini, Section, KEY3, % A_Space
IniRead, Key4, Save.ini, Section, KEY4, % A_Space

Gui, Add, Hotkey, vA1, % KEY1
Gui, Add, Hotkey, vA2, % KEY2
Gui, Add, Hotkey, vA3, % KEY3
Gui, Add, Hotkey, vA4, % KEY4

Gui, Add, Button, gSave1, Save
Gui, Show


Save1:
Loop, 4
{
IniWrite, % Key1 Seve.ini, Section, KEY1
IniWrite, % Key2 Seve.ini, Section, KEY2
IniWrite, % Key3 Seve.ini, Section, KEY3
IniWrite, % Key4 Seve.ini, Section, KEY4
Hotkey, % A%A_Index%, off, UseErrorLevel
GuiControlGet, A%A_Index%
Hotkey, % A%A_Index%, A%A_index%, on, UseErrorLevel
}
return

A1:
{
SendInput, {1}{1}{1}{1}
}
return
A2:
{
SendInput, {2}{2}{2}{2}
}
return
A3:
{
SendInput, {3}{3}{3}{3}
}
return
A4:
{
SendInput, {4}{4}{4}{4}
}
return

</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 04 Aug 2018 05:03:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127673#p127673</guid>
		</item>
	</channel>
</rss>
