<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6138&amp;type=atom" />
	<updated>2012-05-07T19:25:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6138</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=60046#p60046" />
			<content type="html"><![CDATA[<p>Спасибо! Теперь всё чётко!</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2012-05-07T19:25:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=60046#p60046</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55918#p55918" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>~w::
if (A_PriorHotkey = A_ThisHotkey &amp;&amp; A_TimeSincePriorHotkey &lt; 70)
; действия</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-01-22T18:00:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55918#p55918</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=55914#p55914" />
			<content type="html"><![CDATA[<p>Обнаружил проблему данного скрипта: если набираешь слово, в котором присутствует буква &quot;ц&quot; БЫСТРО, то скрипт выполняется, так как как под &quot;ц&quot; находится &quot;w&quot;, выставление интервала нажатия менее 50 мс ситуацию не исправила (сами понимаете что прерывания винды сильно влияют). Подскажите пожалуйста, как исправить.</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2012-01-22T17:47:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=55914#p55914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50850#p50850" />
			<content type="html"><![CDATA[<p>Вот и вся любовь:</p><div class="codebox"><pre><code>t := 0
 
~w::
If(A_TickCount-t &lt; 70) ; если между нажатием &quot;W&quot; и &quot;W&quot; меньше 70 мс, то это была нажата четвёртая кнопка мыши.
  {
  BlockInput On
  Sleep, 100
  Send, {BS}{BS}
  Sleep, 150
  BlockInput Off
  }
  t := A_TickCount
   Return</code></pre></div><p>creature.ws спасибо!</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2011-08-24T14:04:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50850#p50850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50815#p50815" />
			<content type="html"><![CDATA[<p>Осталось только с <a href="http://forum.script-coding.com/viewtopic.php?pid=50785#p50785">этим</a> соединить <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> .</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-22T20:06:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50815#p50815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50814#p50814" />
			<content type="html"><![CDATA[<p>Вероятно подразумевался &quot;двойной клик клавишей W&quot;, нечто вроде:<br /></p><div class="codebox"><pre><code>
t := 0

~w::  
If(A_TickCount-t &lt; 200)
  MsgBox  менее 200мс между нажатиями
  t := A_TickCount</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-08-22T20:00:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50814#p50814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50792#p50792" />
			<content type="html"><![CDATA[<p>Вряд ли.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-22T07:41:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50792#p50792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50788#p50788" />
			<content type="html"><![CDATA[<p>А возможно ли задать условие при котором между нажимом клавиши &quot;w&quot; и &quot;w&quot; прошло меньше 200 ms ?</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2011-08-22T07:27:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50788#p50788</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50787#p50787" />
			<content type="html"><![CDATA[<p>См. команду <a href="http://script-coding.com/AutoHotkey/Hotkey.html"><em>Hotkey</em></a>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-22T07:01:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50787#p50787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50786#p50786" />
			<content type="html"><![CDATA[<p>Спасибо!</p><p>А для чего </p><div class="codebox"><pre><code>BlockEnter:
    Return</code></pre></div><p>?</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2011-08-22T06:57:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50786#p50786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50785#p50785" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>:*:www.win2.cn/f::
	Hotkey, Enter, BlockEnter, On
	Sleep, 2000
	Hotkey, Enter, Off
	Return
	
BlockEnter:
	Return</code></pre></div><p>Enter блокируется на 2 сукунды.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-22T06:38:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50785#p50785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50784#p50784" />
			<content type="html"><![CDATA[<p>Вот так: </p><div class="codebox"><pre><code>:*:www.win2.cn/f::</code></pre></div><p>набранные символы стираются, но после них идёт нажатие клавиши Enter, от которого тоже желательно избавиться. Можно Enter временно заблокировать после набора www.win2.cn/f, но как это сделать не пойму. А может есть решение проще. Подскажите плиз.</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2011-08-22T05:27:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50784#p50784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50781#p50781" />
			<content type="html"><![CDATA[<p>А что должно происходить при нажатии данной комбинации клавиш?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-21T19:16:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50781#p50781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50780#p50780" />
			<content type="html"><![CDATA[<p>Справку перечитал, не дошло.</p>]]></content>
			<author>
				<name><![CDATA[ascerdfg1]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24672</uri>
			</author>
			<updated>2011-08-21T19:06:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50780#p50780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как отследить комбинированное нажатие?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50778#p50778" />
			<content type="html"><![CDATA[<p><strong>ascerdfg1</strong>, почитай <a href="http://script-coding.com/AutoHotkey/Hotstrings.html">справку</a>, если останутся вопросы, подумай над заголовком темы.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-21T18:55:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50778#p50778</id>
		</entry>
</feed>
