<?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=13610</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13610&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Спам лкм при зажатой лкм».]]></description>
		<lastBuildDate>Mon, 09 Apr 2018 15:08:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Спам лкм при зажатой лкм]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124560#p124560</link>
			<description><![CDATA[<p>Или через SetTimer. На примере Win+c </p><div class="codebox"><pre><code>
#c::
if winc_presses &gt; 0 ; SetTimer already started, so we log the keypress instead.
{
    winc_presses += 1
    return
}
; Otherwise, this is the first press of a new series. Set count to 1 and start
; the timer:
winc_presses = 1
SetTimer, KeyWinC, -400 ; Wait for more presses within a 400 millisecond window.
return

KeyWinC:
if winc_presses = 1 ; The key was pressed once.
{
    Run, m:\  ; Open a folder.
}
else if winc_presses = 2 ; The key was pressed twice.
{
    Run, m:\multimedia  ; Open a different folder.
}
else if winc_presses &gt; 2
{
    MsgBox, Three or more clicks detected.
}
; Regardless of which action above was triggered, reset the count to
; prepare for the next series of presses:
winc_presses = 0
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (rowe)]]></author>
			<pubDate>Mon, 09 Apr 2018 15:08:18 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124560#p124560</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Спам лкм при зажатой лкм]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124559#p124559</link>
			<description><![CDATA[<div class="codebox"><pre><code>~$LButton::
    While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
	{
        Click
        Sleep 150 
    }
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (rowe)]]></author>
			<pubDate>Mon, 09 Apr 2018 14:48:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124559#p124559</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Спам лкм при зажатой лкм]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124548#p124548</link>
			<description><![CDATA[<p>Имеется скрипт <br /></p><div class="codebox"><pre><code>[::Suspend 
LButton:: 
Loop 
{ 
SetMouseDelay 30 
Click 
If (GetKeyState(&quot;LButton&quot;,&quot;P&quot;)=0) 
Break 
}</code></pre></div><p>но он работает не корректно, точнее при первом единичном нажатии происходит 2 клика, а при втором один. Выходит, что одно из двух единичных нажатий производит 2 нажатия. Подскажите как это исправить, нодо чтобы если нажал 1 раз на ЛКМ, то произошел именно один клик, а при зажатии ЛКМ, происходил&nbsp; спам лкм.</p>]]></description>
			<author><![CDATA[null@example.com (KostyaDominator)]]></author>
			<pubDate>Mon, 09 Apr 2018 01:25:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124548#p124548</guid>
		</item>
	</channel>
</rss>
