<?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>https://forum.script-coding.com/viewtopic.php?id=10562</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10562&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Многократное нажатие клавиши при ее зажатии.».]]></description>
		<lastBuildDate>Thu, 09 Apr 2015 16:40:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93154#p93154</link>
			<description><![CDATA[<p>YMP, спасибо, то, что нужно!</p>]]></description>
			<author><![CDATA[null@example.com (killer777909)]]></author>
			<pubDate>Thu, 09 Apr 2015 16:40:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93154#p93154</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93146#p93146</link>
			<description><![CDATA[<p><span style="color: green"><strong>killer777909</strong>, <a href="http://forum.script-coding.com/viewtopic.php?id=6148">не нужно</a> цитировать предыдущий пост.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 09 Apr 2015 10:31:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93146#p93146</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93142#p93142</link>
			<description><![CDATA[<div class="codebox"><pre><code>
$x::
    While( GetKeyState( &quot;x&quot;, &quot;p&quot;) ) {
        Send, {x down}
        Sleep, 50
        Send, {x up}
        Sleep, 50
    }
    Return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Thu, 09 Apr 2015 03:19:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93142#p93142</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93141#p93141</link>
			<description><![CDATA[<div class="quotebox"><cite>exobangs пишет:</cite><blockquote><p>Хм.. Держи , вроде то , что тебе нужно , таймер выставляй как тебе надо.<br /></p><div class="codebox"><pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Process, Priority, , high
Numpad2::ExitApp

*X::
SetTimer, timer, 0
Gosub timer
return
timer:
if GetKeyState(&quot;x&quot;, &quot;P&quot;)
    Send {x}
else
    SetTimer, timer, Off
return
</code></pre></div><p>Но и мой пример не правильный , т.к тут лучше тогда использовать коды клавиш..</p></blockquote></div><p>Хм, это то, но работает оно как-то... Не стабильно. Т.е. при зажатой клавише клики выдаются но часто происходят задержки. Хотелось бы, чтобы все было плавно.</p>]]></description>
			<author><![CDATA[null@example.com (killer777909)]]></author>
			<pubDate>Thu, 09 Apr 2015 02:40:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93141#p93141</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93137#p93137</link>
			<description><![CDATA[<p>Хм.. Держи , вроде то , что тебе нужно , таймер выставляй как тебе надо.<br /></p><div class="codebox"><pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Process, Priority, , high
Numpad2::ExitApp

*X::
SetTimer, timer, 0
Gosub timer
return
timer:
if GetKeyState(&quot;x&quot;, &quot;P&quot;)
    Send {x}
else
    SetTimer, timer, Off
return
</code></pre></div><p>Но и мой пример не правильный , т.к тут лучше тогда использовать коды клавиш..</p>]]></description>
			<author><![CDATA[null@example.com (exobangs)]]></author>
			<pubDate>Wed, 08 Apr 2015 20:10:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93137#p93137</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93134#p93134</link>
			<description><![CDATA[<p>teadrinker, исправил</p>]]></description>
			<author><![CDATA[null@example.com (killer777909)]]></author>
			<pubDate>Wed, 08 Apr 2015 17:09:14 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93134#p93134</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93132#p93132</link>
			<description><![CDATA[<p><span style="color: green"><strong>killer777909</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, оформите код, как положено.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 08 Apr 2015 16:45:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93132#p93132</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Многократное нажатие клавиши при ее зажатии.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=93131#p93131</link>
			<description><![CDATA[<p>Необходим скрипт, который будет многократно кликать по клавише Х (в английской раскладке), если ее зажать. Максимум, что я сумел:<br /></p><div class="codebox"><pre><code>X:: 
run: 
Send {X down} 
Sleep 1 
Send {X up} 
Sleep 1 
Goto, run

X:: 
Send {X up} 
Reload
</code></pre></div><p>Это совсем не то, что нужно. Порылся на сайте, но так и не смог ничего сделать. Прошу помощи.</p>]]></description>
			<author><![CDATA[null@example.com (killer777909)]]></author>
			<pubDate>Wed, 08 Apr 2015 16:41:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=93131#p93131</guid>
		</item>
	</channel>
</rss>
