<?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 Как привязать 2 и более хот-кеев на один Button?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13999</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13999&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: GUI Как привязать 2 и более хот-кеев на один Button?».]]></description>
		<lastBuildDate>Wed, 01 Aug 2018 19:25:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127655#p127655</link>
			<description><![CDATA[<div class="codebox"><pre><code>loop 3
	Gui, Add, Hotkey, w80 vV%A_Index%
Gui, Add, Button, gSave, Save 
Gui, Show
return

Save:
	loop 3
	{
		Hotkey, % V%A_Index%, Off, UseErrorLevel
		GuiControlGet, V%A_Index%
		Hotkey, % V%A_Index%, Key%A_Index%, On UseErrorLevel
	}
	return

Key1:
	MsgBox, , , %  A_ThisLabel, 0.4
	return

Key2:
	MsgBox, , , %  A_ThisLabel, 0.4
	return

Key3:
	MsgBox, , , %  A_ThisLabel, 0.4
	return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 01 Aug 2018 19:25:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127655#p127655</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127654#p127654</link>
			<description><![CDATA[<p>Есть 10 хоткеев, у каждого хоткея своя задача на выполнение, вот как мне сделать так чтобы когда я выставил все клавиши на хоткее, их сразу применить одной кнопкой?<br />А то я каждую кнопку по отдельности применяю.</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 19:15:28 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127654#p127654</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127653#p127653</link>
			<description><![CDATA[<p>Что это значит? Ваш родной язык, Русский?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 01 Aug 2018 19:10:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127653#p127653</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127652#p127652</link>
			<description><![CDATA[<p>А как мне к каждому хот-кею применить скрипты?</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 19:09:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127652#p127652</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127651#p127651</link>
			<description><![CDATA[<div class="quotebox"><cite>DaGer пишет:</cite><blockquote><p>Он будет идентификатором, и как действенным число числом?</p></blockquote></div><p>На такой вопрос тут вряд ли кто ответит.</p><div class="quotebox"><cite>DaGer пишет:</cite><blockquote><p>А как мне по координатам раскидать хоткеи?</p></blockquote></div><p>Также как и было.</p><div class="codebox"><pre><code>Gui, Add, Hotkey, x612 y555 w80 h20 vV1, 
Gui, Add, Hotkey, x747 y555 w80 h20 vV2, </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 01 Aug 2018 19:06:53 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127651#p127651</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127649#p127649</link>
			<description><![CDATA[<p>А как мне по координатам раскидать хоткеи?</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 18:44:51 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127649#p127649</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127648#p127648</link>
			<description><![CDATA[<p>В языке С++ имена переменных не начинаются с цифр. Думал тут похожая опера. <br />Спасибо узнал про &quot;GuiControlGet&quot;</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 18:35:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127648#p127648</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127647#p127647</link>
			<description><![CDATA[<p><strong>DaGer</strong>, что? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 01 Aug 2018 18:27:27 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127647#p127647</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127645#p127645</link>
			<description><![CDATA[<p>Он будет идентификатором, и как действенным число числом?</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 18:18:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127645#p127645</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127644#p127644</link>
			<description><![CDATA[<div class="codebox"><pre><code>1 := 222
MsgBox % 1</code></pre></div><p>Ну и ещё они зарезервированы под командные параметры.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 01 Aug 2018 18:03:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127644#p127644</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127643#p127643</link>
			<description><![CDATA[<p>Можно узнать почему нельзя использовать числа как переменные и к чему это может привести ?</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 17:51:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127643#p127643</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127640#p127640</link>
			<description><![CDATA[<div class="codebox"><pre><code>loop 10
	Gui, Add, Hotkey, w80 vV%A_Index%
Gui, Add, Button, gSave, Save 
Gui, Show
return

Save:
	loop 10
	{
		Hotkey, % V%A_Index%, Off, UseErrorLevel
		GuiControlGet, V%A_Index%
		Hotkey, % V%A_Index%, Key, On UseErrorLevel
	}
	return

Key:
	MsgBox, , , %  A_ThisHotkey, 0.4
	return</code></pre></div><p>Бесплатный совет, не задавайте имена переменных как числа.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 01 Aug 2018 16:44:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127640#p127640</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127634#p127634</link>
			<description><![CDATA[<p><strong>Уточнение.</strong><br />Если <a href="http://forum.script-coding.com/viewtopic.php?id=12263">название темы должно начинаться с указания префикса &quot;AHK: &quot;</a>, то почему Вы, в <a href="http://forum.script-coding.com/viewtopic.php?id=13989">какой-то момент</a> следуете этому правилу, а например, сейчас - нет?</p><p>Префикс сообщает о синтаксисе. Синтаксиса &quot;AHK, GUI&quot; - не существует.</p>]]></description>
			<author><![CDATA[null@example.com (KusochekDobra)]]></author>
			<pubDate>Wed, 01 Aug 2018 14:14:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127634#p127634</guid>
		</item>
		<item>
			<title><![CDATA[AHK: GUI Как привязать 2 и более хот-кеев на один Button?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127633#p127633</link>
			<description><![CDATA[<p>Как один хот-кей привязывать я понял, а как несколько?<br /></p><div class="codebox"><pre><code>
Gui, Add, Button, x1035 y720 w50 h30 gSave, Save

Gui, Add, Hotkey, x612 y555 w80 h20 v1, 
Gui, Add, Hotkey, x747 y555 w80 h20 v2, 
Gui, Add, Hotkey, x883 y555 w80 h20 v3,
Gui, Add, Hotkey, x612 y662 w80 h20 v4, 
Gui, Add, Hotkey, x747 y662 w80 h20 v5, 
Gui, Add, Hotkey, x882 y662 w80 h20 v6, 
Gui, Add, Hotkey, x1018 y662 w80 h20 v7,
Gui, Add, Hotkey, x612 y769 w80 h20 v8, 
Gui, Add, Hotkey, x747 y769 w80 h20 v9, 
Gui, Add, Hotkey, x884 y769 w80 h20 v10, 

Save:
Hotkey, % 1, Off, UseErrorLevel
Gui, Submit, NoHide
Hotkey, % 1, Key, On, UseErrorLevel
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Wed, 01 Aug 2018 14:05:02 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127633#p127633</guid>
		</item>
	</channel>
</rss>
