<?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=6021&amp;type=atom" />
	<updated>2011-07-19T04:51:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6021</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Повторение действия при нажатии клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49979#p49979" />
			<content type="html"><![CDATA[<p><span style="color: Green"><strong>Nek1t98</strong>, избегайте излишнего цитирования. В данном же случае оно и вовсе не нужно. Я поправил Ваш пост.</span></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2011-07-19T04:51:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49979#p49979</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Повторение действия при нажатии клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49977#p49977" />
			<content type="html"><![CDATA[<p>Спасибо большое!</p>]]></content>
			<author>
				<name><![CDATA[Nek1t98]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27075</uri>
			</author>
			<updated>2011-07-19T03:57:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49977#p49977</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Повторение действия при нажатии клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49976#p49976" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>; вариант #1
*$Space::
   While GetKeyState(&quot;Space&quot;, &quot;P&quot;)
   {
      Send, {Space}
      Sleep, 10
   }
   Return

; вариант #2
*$Space::
1:
   If !GetKeyState(&quot;Space&quot;, &quot;P&quot;)
      Return
   Send, {Space}
   Sleep, 10
   Gosub, 1

; вариант #2.1
*$Space::
1:
   Send, {Space}
   Sleep, % !GetKeyState(&quot;Space&quot;, &quot;P&quot;) ? 10:-1
   Gosub, % !GetKeyState(&quot;Space&quot;, &quot;P&quot;) ? &quot;2&quot;:&quot;1&quot;
2:
   Return

; вариант #3
*$Space::SetTimer, Action, 10
Space Up::SetTimer, Action, Off
Action:
   Send, {Space}
   Return

; вариант #4
*$Space::
   Loop
   {
      Send, {Space}
      Sleep, 10
      If !GetKeyState(&quot;Space&quot;, &quot;P&quot;)
         Break
   }
   Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Grey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25792</uri>
			</author>
			<updated>2011-07-19T02:07:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49976#p49976</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Повторение действия при нажатии клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49966#p49966" />
			<content type="html"><![CDATA[<p>Заголовок <a href="http://forum.script-coding.com/viewtopic.php?id=5421">надо поправить</a>.</p>]]></content>
			<author>
				<name><![CDATA[The gray Cardinal]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=2</uri>
			</author>
			<updated>2011-07-18T18:29:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49966#p49966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Повторение действия при нажатии клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49965#p49965" />
			<content type="html"><![CDATA[<p>Помогите сделать скрипт чтобы когда Я держал пробел, АХК его нажимал столько раз, сколько успеет до отжатия. Интервал 0.01</p>]]></content>
			<author>
				<name><![CDATA[Nek1t98]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27075</uri>
			</author>
			<updated>2011-07-18T18:25:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49965#p49965</id>
		</entry>
</feed>
