<?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: Как забиндить на забинженный хоткей.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13963</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13963&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK GUI: Как забиндить на забинженный хоткей.».]]></description>
		<lastBuildDate>Sun, 22 Jul 2018 09:40:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127255#p127255</link>
			<description><![CDATA[<p>Все заработало спасибо большое.<br />Я ставил %% не работало поставил {} все заработало)<br />Я читал этот пост.<br />Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sun, 22 Jul 2018 09:40:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127255#p127255</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127254#p127254</link>
			<description><![CDATA[<p>Ну так пост #9 верен.<br />Почитай пожалуйста этот пост <a href="http://forum.script-coding.com/viewtopic.php?pid=105176#p105176">http://forum.script-coding.com/viewtopi … 76#p105176</a><br /></p><div class="codebox"><pre><code>
Key1:
{
send, 1
send, 2
send, 3
send, {%key2%} ;Key2=Num2
send, {%key3%} ;key3=Num3
; Если ставить проценты вокруг нашей переменной, она будет передана как выражение
; Кнопки лучше ставить между скобок &quot;{}&quot; тогда она будет передана как кнопка а не как текст
; Send , %key2% напишет Num2 а не нажмёт её
}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sun, 22 Jul 2018 09:38:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127254#p127254</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127253#p127253</link>
			<description><![CDATA[<p>Менять местами их не нужно,есть 2 хоткея Key1=Num1, Key2=Num2 при нажатии на Num1 выполнял действие 1,2,3,2=Key2, чтобы Key1 смотрел какая кнопка стоит на key2 и выполнял ввод этой кнопки.<br />И так может быть несколько хоткеев.<br /></p><div class="codebox"><pre><code>
Key1:
{
send, 1
send, 2
send, 3
send, 2 ;Key2=Num2
send, 3 ;key3=Num3
;и тд.
}
</code></pre></div><p><strong>qqlexa</strong><br />Спасибо!<br />В чек-бокс добавил пару слов и все заработало.<br /></p><div class="codebox"><pre><code>
Gui, Add, CheckBox, x600 y5 w100 h30 g1 vCheckbox,

1:
	Gui, Submit, NoHide
If Checkbox = 0
	Hotkey, % PrKey1, off, UseErrorLevel
else
	Hotkey, % PrKey1 := Key1, Key1, on, UseErrorLevel
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sun, 22 Jul 2018 09:21:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127253#p127253</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127242#p127242</link>
			<description><![CDATA[<p>Если ты хочешь просто поменять пути для меток:<br /></p><div class="codebox"><pre><code>2:
	Gui, Submit, NoHide
	Hotkey, % PrKey1, off, UseErrorLevel
	Hotkey, % PrKey1 := Key1, Key1, on, UseErrorLevel
return

1:
	Gui, Submit, NoHide
	Hotkey, % PrKey2, off, UseErrorLevel
	Hotkey, % PrKey2 := Key2, Key2, on, UseErrorLevel
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 21 Jul 2018 22:11:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127242#p127242</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127241#p127241</link>
			<description><![CDATA[<p>Ух. У самого куча мыслей, а подать не могу. <br />На счёт включения/выключения чекбоксов.<br /></p><div class="quotebox"><blockquote><p>И за одно посмотри пожалуйста что не так с этими чек-боксами они подтверждают выбранный хот-кей, но при выключении чек-бокса хот-кей продолжает работать.</p></blockquote></div><p>Нужно добавить переменную для них а в метке поставить условие. Если переменная равна единице - checkbox активирован. <br /></p><div class="codebox"><pre><code>
; До этого указываем переменную Gui, Add, Checkbox, vCheckbox gLabel
Label:
If Checkbox = 0
	msgbox, Выключить все хоткеи ; Допиши функции которые тебе нужны при выключении чекбокса 
else msgbox, Включить все хоткеи ; Допиши функции которые тебе нужны при включении чекбокса 
; Если не хватает одной строки выдели скобками 
;     {
;      ..
;     }
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 21 Jul 2018 22:09:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127241#p127241</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127240#p127240</link>
			<description><![CDATA[<p>Да то, Не могу понять как теперь показать чтобы она по пути Key2 шла и находила хоткей, а то она идет по пути Key1.<br />Можешь на примере этих 2 хоткеев показать пожалуйста.<br /></p><div class="codebox"><pre><code>
1:
	Gui, Submit, NoHide
	Hotkey, % PrKey1, off, UseErrorLevel
	Hotkey, % PrKey1 := Key1, Key1, on, UseErrorLevel
return

2:
	Gui, Submit, NoHide
	Hotkey, % PrKey2, off, UseErrorLevel
	Hotkey, % PrKey2 := Key2, Key2, on, UseErrorLevel
return
</code></pre></div><p>И за одно посмотри пожалуйста что не так с этими чек-боксами они подтверждают выбранный хот-кей, но при выключении чек-бокса хот-кей продолжает работать.</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 21 Jul 2018 21:53:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127240#p127240</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127239#p127239</link>
			<description><![CDATA[<p>Я надеюсь тебя понял, друг.<br />Тебе должна помочь переменная A_ThisHotkey.<br />Пример использования:<br /></p><div class="codebox"><pre><code>#SingleInstance, FOrce
Hotkey, F2, key
return
key:
msgbox, % A_ThisHotkey</code></pre></div><p>Ну или пост #9 тебе нужен.</p>]]></description>
			<author><![CDATA[null@example.com (qqlexa)]]></author>
			<pubDate>Sat, 21 Jul 2018 21:16:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127239#p127239</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127238#p127238</link>
			<description><![CDATA[<div class="quotebox"><cite>DaGer пишет:</cite><blockquote><p>?.</p></blockquote></div><p>Точка лишняя.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 21 Jul 2018 20:30:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127238#p127238</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127237#p127237</link>
			<description><![CDATA[<div class="quotebox"><cite>DaGer пишет:</cite><blockquote><p>и так тут может быть и несколько.</p></blockquote></div><p>С большой буквы.<br />Это так.<br /></p><div class="codebox"><pre><code>
Key1:
{
send, 1
send, 2
send, %key2% ;=====================&gt; Кнопку которую я сам поставлю в хоткее.
send, 4
}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 21 Jul 2018 20:30:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127237#p127237</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127236#p127236</link>
			<description><![CDATA[<p>Извините!<br />Как будет тогда правильно сделать?</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 21 Jul 2018 20:28:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127236#p127236</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127235#p127235</link>
			<description><![CDATA[<p>Вообще тут не оформление тэгом, и письмо с малой буквы без точки в конце, приравнивается как минимум к неуважению собеседника.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 21 Jul 2018 20:23:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127235#p127235</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127234#p127234</link>
			<description><![CDATA[<p>Key1:<br />{<br />send, 1<br />send, 2<br />send, %key2% ;=====================&gt; Кнопку которую я сам поставлю в хоткее.<br />send, 4<br />}<br />И так тут может быть и несколько.<br />Будет выполнять нажатия 1, 2, %3 кнопка в хоткее%, 4...</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 21 Jul 2018 19:29:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127234#p127234</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127233#p127233</link>
			<description><![CDATA[<p>С одно и с не скольких тоже.</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 21 Jul 2018 19:16:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127233#p127233</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127232#p127232</link>
			<description><![CDATA[<p>Вызов одной метки с нескольких хоткеев?<br /></p><div class="codebox"><pre><code>
Hotkey, % PrKey2 := Key2, Key1, on, UseErrorLevel
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Sat, 21 Jul 2018 19:14:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127232#p127232</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK GUI: Как забиндить на забинженный хоткей.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=127231#p127231</link>
			<description><![CDATA[<p>Помогите сформулировать вопрос очень сложно!!</p>]]></description>
			<author><![CDATA[null@example.com (DaGer)]]></author>
			<pubDate>Sat, 21 Jul 2018 18:52:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=127231#p127231</guid>
		</item>
	</channel>
</rss>
