<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: два действия на одну клавишу]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=8062&amp;type=atom" />
	<updated>2013-02-10T04:49:38Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=8062</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: два действия на одну клавишу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=69294#p69294" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F1::
    if WinActive(&quot;ahk_class Notepad&quot;)
        Send % GetKeyState(&quot;ScrollLock&quot;, &quot;T&quot;)? &quot;здравствуйте&quot; : &quot;привет&quot;
    else MsgBox F1
    return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-02-10T04:49:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=69294#p69294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: два действия на одну клавишу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=69289#p69289" />
			<content type="html"><![CDATA[<p>Здравствуйте. Помогите начинающему, запутался</p><div class="codebox"><pre><code> F1:: Send, привет</code></pre></div><p>Как сделать, чтобы в случае нажатого СкроллЛока (условно говоря, любой клавиши, у которой бывает два состояния) F1 выдавал &quot;здравствуйте&quot;? И чуть усложняется вопрос - всё это при открытом блокноте. А если блокнот не открыт, то просто MsgBox F1. Я конечно извиняюсь за детский вопрос. Спасибо</p>]]></content>
			<author>
				<name><![CDATA[vitya.solodov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=29550</uri>
			</author>
			<updated>2013-02-09T23:28:47Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=69289#p69289</id>
		</entry>
</feed>
