<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Как задать в KeyWait все клавиши]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10744&amp;type=atom" />
	<updated>2015-07-05T18:08:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10744</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как задать в KeyWait все клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94961#p94961" />
			<content type="html"><![CDATA[<p>У меня в любом случае. Т. е. если запустить код выше и двигать мышью — сообщения не появится.<br />В хелпе <a href="http://ahkscript.org/docs/Variables.htm#TimeIdlePhysical">сказано</a>, что, если соответствующий хук установлен, игнорируются искусственно генерируемые события.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-07-05T18:08:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94961#p94961</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как задать в KeyWait все клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94958#p94958" />
			<content type="html"><![CDATA[<p>У меня только когда присутствует: </p><div class="codebox"><pre><code>#InstallMouseHook</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-07-05T18:01:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94958#p94958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как задать в KeyWait все клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94957#p94957" />
			<content type="html"><![CDATA[<p><em>A_TimeIdlePhysical</em> обновляется не только когда клавиши нажимаются, но и когда мышь двигается.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-07-05T17:57:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94957#p94957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как задать в KeyWait все клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94956#p94956" />
			<content type="html"><![CDATA[<p>С KeyWait никак. Можно в <a href="http://www.script-coding.com/AutoHotkey/Input.html">Input</a> перечислить нужные клавиши, или вот так проще:<br /></p><div class="codebox"><pre><code>Loop
{ 
    Sleep 50
    if A_TimeIdlePhysical &gt; 10000  
        MsgBox, Клавиши не были нажаты за 10 секунд
}</code></pre></div><p>Правильнее покурить <a href="http://forum.script-coding.com/viewtopic.php?id=6350">это</a>.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-07-05T17:49:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94956#p94956</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как задать в KeyWait все клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94954#p94954" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop
{
sleep, 35

KeyWait, [Все клавиши], D T10
if ErrorLevel = 0
MsgBox, Клавиши не были нажаты за 10 секунд
}
Return</code></pre></div><p>Если оставить пустым первый параметр в KeyWait, то высылается ошибка компилятора. Может кто подскажет?</p><p>Хм сравнительно быстро сам нашел ответ:<br /></p><div class="codebox"><pre><code>Loop
{
sleep, 35
if ( A_TimeIdlePhysical &gt; 10000 )
    MsgBox, AFK
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Странникх]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30605</uri>
			</author>
			<updated>2015-07-05T17:31:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94954#p94954</id>
		</entry>
</feed>
