<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK:Бинд кнопок с нескольких нажатий]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=13016</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13016&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK:Бинд кнопок с нескольких нажатий».]]></description>
		<lastBuildDate>Fri, 22 Sep 2017 19:37:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK:Бинд кнопок с нескольких нажатий]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=119505#p119505</link>
			<description><![CDATA[<p><strong>stealzy</strong>,<br />по-моему правильнее через таймер.<br /></p><div class="codebox"><pre><code>;~ Количество нажатий после которого клавиша изменится
MinNeedPressTimes:=3
;~ Количество времени за которое должны произойти нажатия
MaxPriorPressTime:=1000

~Q::
WinQ_Presses++
If WinQ_Presses &gt;=% MinNeedPressTimes
	Hotkey,q,SendStr
SetTimer, RestartQ, 1000
Return

RestartQ:
if A_TimeSinceThisHotkey&gt;=% MaxPriorPressTime
{
SetTimer, RestartQ, Off
Hotkey,~q,~q
WinQ_Presses = 0
}
Return

SendStr:
Send,{w}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (shahlik002)]]></author>
			<pubDate>Fri, 22 Sep 2017 19:37:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=119505#p119505</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Бинд кнопок с нескольких нажатий]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=119471#p119471</link>
			<description><![CDATA[<p>KeyWait.</p>]]></description>
			<author><![CDATA[null@example.com (stealzy)]]></author>
			<pubDate>Thu, 21 Sep 2017 17:24:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=119471#p119471</guid>
		</item>
		<item>
			<title><![CDATA[AHK:Бинд кнопок с нескольких нажатий]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=119446#p119446</link>
			<description><![CDATA[<p>Привет, нужна помощь в построении скрипта.</p><p>Есть ли возможность сделать скрипт который при неоднократном(3-5 раз) нажатии клавиши за последние пару секунд нажималась другая клавиша.</p><p>К примеру: при быстрых нажатии 3 раза на клавишу Q нажималась W</p>]]></description>
			<author><![CDATA[null@example.com (fesser)]]></author>
			<pubDate>Wed, 20 Sep 2017 23:18:56 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=119446#p119446</guid>
		</item>
	</channel>
</rss>
