<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5064&amp;type=atom" />
	<updated>2010-10-20T19:26:17Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5064</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40656#p40656" />
			<content type="html"><![CDATA[<p>OFF: В начале нужного куска ставлю хоткей, например #b::, в конце куска return. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Согласен менее удобно, но для меня более привычно.</p>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-10-20T19:26:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40656#p40656</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40655#p40655" />
			<content type="html"><![CDATA[<p>OFF: Часто нужно проверить небольшой кусочек кода. И что, каждый раз сохранять нужно? Тоже пользуюсь SciTE.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-10-20T19:24:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40655#p40655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40653#p40653" />
			<content type="html"><![CDATA[<p>OFF: Пользуюсь scite. Отредактировал, сохранил, перезапустил на F5. Привычка. Кому как удобнее.</p>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-10-20T19:18:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40653#p40653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40646#p40646" />
			<content type="html"><![CDATA[<p>OFF: А зачем сохранять скрипт перед запуском? Можно просто считывать текст из окна редактора, создавать временный файл и запускать его, потом удалять.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-10-20T17:58:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40646#p40646</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40644#p40644" />
			<content type="html"><![CDATA[<p>ayosh, этот вариант я рассматривал, но он для меня не подходил.<br />teadrinker, первым делом я так и делал, только не пойму в чем дело, у меня не работало, видимо я просто забыл пересохранить скрипт перед запуском.</p>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-10-20T17:31:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40644#p40644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40643#p40643" />
			<content type="html"><![CDATA[<p>А зачем вообще эти клавиши задавать виртуальными кодами, для путаницы? Вот так всё работает:<br /></p><div class="codebox"><pre><code>gui add, text,, GUI WINDOW
gui show,, Gui

#IfWinActive Gui
UP:: ; UP Key
    MsgBox UP
Return

F12:: ; F12 Key
    MsgBox F12
Return

GuiClose:
exitapp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2010-10-20T17:07:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40643#p40643</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40640#p40640" />
			<content type="html"><![CDATA[<p>Да, интересно.. Тут нашёл небольшое описание почему: <a href="http://www.autohotkey.com/forum/viewtopic.php?p=360683#360683">VK21 and VK22 do not work with keyboard hook on</a>. Можно чуть обмануть:<br /></p><div class="codebox"><pre><code>gui add, text,, GUI WINDOW
gui show,, Gui


VK26:: ; UP Key
    IfWinNotActive, Gui
        Return
    MsgBox UP
Return
#IfWinActive Gui
VK7B:: ; F12 Key
    MsgBox F12
Return

GuiClose:
exitapp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ayosh]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25030</uri>
			</author>
			<updated>2010-10-20T16:50:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40640#p40640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Нажатие клавиш-стрелок в окне GUI]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=40638#p40638" />
			<content type="html"><![CDATA[<p>Такой простой пример. Создаем окно GUI. Создаем 2 хоткея для этого окна. Один работает, другой нет. Другой это клавиша UP (стрелка вверх). В чем проблема?<br /></p><div class="codebox"><pre><code>gui add, text,, GUI WINDOW
gui show,, Gui

#IfWinActive Gui
VK26:: ; UP Key
    MsgBox UP
Return

VK7B:: ; F12 Key
    MsgBox F12
Return

GuiClose:
exitapp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2010-10-20T16:21:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=40638#p40638</id>
		</entry>
</feed>
