<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; АНК: Физическое удержание ЛКМ и логические клики ЛКМ]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10705&amp;type=atom" />
	<updated>2015-06-18T08:41:17Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10705</id>
		<entry>
			<title type="html"><![CDATA[Re: АНК: Физическое удержание ЛКМ и логические клики ЛКМ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94605#p94605" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Lbutton::
   Loop {
      Click D
      KeyWait, LButton, T1
      Click U
      if !ErrorLevel
         Break
      Click D
      KeyWait, LButton, T0.5
      Click U
      if !ErrorLevel
         Break
   }
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2015-06-18T08:41:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94605#p94605</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: АНК: Физическое удержание ЛКМ и логические клики ЛКМ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94602#p94602" />
			<content type="html"><![CDATA[<p>Например, вместо Sleep 1000<br /></p><div class="codebox"><pre><code>loop 20
{
проверка на удержку ЛКМ
если не зажата - выход из обоих циклов
sleep, 50
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-06-18T05:58:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94602#p94602</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[АНК: Физическое удержание ЛКМ и логические клики ЛКМ]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=94601#p94601" />
			<content type="html"><![CDATA[<p>Есть цикл<br /></p><div class="codebox"><pre><code>Lbutton::
    While GetKeyState(&quot;LButton&quot;, &quot;p&quot;)
    {
        Click
        KeyWait, LButton, T0.69
    }
Return</code></pre></div><p>При нажатии и удержании ЛКМ он кликает-ждет-кликает и так по циклу. Как сделать что бы при физическом нажатии и удержании ЛКМ логически срабатывало:</p><p>	</p><div class="codebox"><pre><code>
Lbutton::
While GetKeyState(&quot;LButton&quot;, &quot;p&quot;)
    {
              Нажать ЛКМ
              Ждем 1 сек
              Отпустить ЛКМ
              Нажать ЛКМ
              Ждем 0,5 сек
              Отпустить ЛКМ
    }
Return</code></pre></div><p>А при физическом отпуске кнопки ЛКМ скрипт прерывался сразу не отрабатывая 1,5 сек.</p>]]></content>
			<author>
				<name><![CDATA[skeleton]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33119</uri>
			</author>
			<updated>2015-06-18T05:29:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=94601#p94601</id>
		</entry>
</feed>
