<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Задать горячие клавиши посредством ComboBox]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9261&amp;type=atom" />
	<updated>2014-02-17T17:03:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9261</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать горячие клавиши посредством ComboBox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80138#p80138" />
			<content type="html"><![CDATA[<p>Вот додумался сам , но работает как то криво подскажите как оптимизировать.Не могу понять как&nbsp; добавить &quot;*~&quot;перед горячей клавишей.<br /></p><div class="codebox"><pre><code>#SingleInstance force
#Persistent
#NoEnv
SendMode Input
SetBatchLines, -1
#MaxHotkeysPerInterval
#HotkeyInterval, -1

DllCall(&quot;LoadKeyboardLayout&quot;, &quot;Str&quot;, &quot;00000409&quot;, &quot;Int&quot;, 1)
Gui, Color, E2E2E2
gui, font, cBlue s10
Gui, Add, Text,, измененение кнопки управления
Gui, Font, norm
Gui, Add, ComboBox, vHotkey1, LButton|MButton|XButton1|
Gui, Font, underline
Gui, Add, Button, w100 gOK, OK
Gui, Show,
Return

~vk79::
Suspend, Off
ExitApp
Return

HKLabel:
while GetKeyState(&quot;LButton&quot;,&quot;P&quot;)
{
Click 2
}
Return

ComboBox:
Return
OK:
Gui Submit, NoHide
GuiControlGet, Hotkey
Hotkey, % Hotkey1, HKLabel, UseErrorLevel
Return
GuiClose:
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-17T17:03:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80138#p80138</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Задать горячие клавиши посредством ComboBox]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80071#p80071" />
			<content type="html"><![CDATA[<p>Доброго времени суток.Помогите задать горячие клавиши посредством &quot;ComboBox&#039;&#039;.<br />Код предоставленный ниже не работает.</p><div class="codebox"><pre><code>Gui, Color, 74B83E
gui, font, cBlue s10
Gui, Add, ComboBox,  vHotkey gDropDownList  w100, lbutton||Mbutton|XButton1|
Gui, Add, Button, w100 gOK, OK
Gui, Show,
Return

~vk78::
Suspend, toggle
return

*~lbutton::
while GetKeyState(&quot;LButton&quot;,&quot;P&quot;)
{

Click 2
}
Return
ComboBox:
Return
OK:
Gui Submit, NoHide
lbutton = %Hotkey%
WinMinimize
Return
GuiClose:
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-14T20:00:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80071#p80071</id>
		</entry>
</feed>
